@m4l/components 9.54.2 → 9.55.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.
- package/@types/types.d.ts +8 -0
- package/components/CheckableList/CheckableList.d.ts.map +1 -1
- package/components/CheckableList/CheckableList.js +163 -143
- package/components/CheckableList/CheckableList.styles.d.ts.map +1 -1
- package/components/CheckableList/CheckableList.styles.js +20 -8
- package/components/CheckableList/constants.d.ts +1 -1
- package/components/CheckableList/constants.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListRender.d.ts +6 -1
- package/components/CheckableList/hooks/useCheckableListRender.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListRender.js +126 -113
- package/components/CheckableList/slots/slots.d.ts +1 -0
- package/components/CheckableList/slots/slots.d.ts.map +1 -1
- package/components/CheckableList/slots/slots.js +1 -1
- package/components/CheckableList/slots/styled.d.ts +3 -0
- package/components/CheckableList/slots/styled.d.ts.map +1 -1
- package/components/CheckableList/slots/styled.js +56 -51
- package/components/CheckableList/types.d.ts +20 -0
- package/components/CheckableList/types.d.ts.map +1 -1
- package/components/ColorPicker/ColorPicker.js +2 -2
- package/components/DateTimeRangePicker/DateTimeRangePicker.js +1 -1
- package/components/DevicesPicker/DevicesPicker.d.ts +14 -0
- package/components/DevicesPicker/DevicesPicker.d.ts.map +1 -0
- package/components/DevicesPicker/DevicesPicker.js +344 -0
- package/components/DevicesPicker/DevicesPicker.styles.d.ts +3 -0
- package/components/DevicesPicker/DevicesPicker.styles.d.ts.map +1 -0
- package/components/DevicesPicker/DevicesPicker.styles.js +510 -0
- package/components/DevicesPicker/constants.d.ts +85 -0
- package/components/DevicesPicker/constants.d.ts.map +1 -0
- package/components/DevicesPicker/constants.js +41 -0
- package/components/DevicesPicker/dictionary.d.ts +19 -0
- package/components/DevicesPicker/dictionary.d.ts.map +1 -0
- package/components/DevicesPicker/dictionary.js +20 -0
- package/components/DevicesPicker/helpers/resolveDeviceGroup.d.ts +11 -0
- package/components/DevicesPicker/helpers/resolveDeviceGroup.d.ts.map +1 -0
- package/components/DevicesPicker/helpers/resolveDeviceGroup.js +14 -0
- package/components/DevicesPicker/helpers/toDeviceArray.d.ts +7 -0
- package/components/DevicesPicker/helpers/toDeviceArray.d.ts.map +1 -0
- package/components/DevicesPicker/helpers/toDeviceArray.js +6 -0
- package/components/DevicesPicker/hooks/types.d.ts +176 -0
- package/components/DevicesPicker/hooks/types.d.ts.map +1 -0
- package/components/DevicesPicker/hooks/useDeviceGroups.d.ts +13 -0
- package/components/DevicesPicker/hooks/useDeviceGroups.d.ts.map +1 -0
- package/components/DevicesPicker/hooks/useDeviceGroups.js +51 -0
- package/components/DevicesPicker/hooks/useDevicesAsyncOptions.d.ts +13 -0
- package/components/DevicesPicker/hooks/useDevicesAsyncOptions.d.ts.map +1 -0
- package/components/DevicesPicker/hooks/useDevicesAsyncOptions.js +71 -0
- package/components/DevicesPicker/hooks/useDevicesSelection.d.ts +12 -0
- package/components/DevicesPicker/hooks/useDevicesSelection.d.ts.map +1 -0
- package/components/DevicesPicker/hooks/useDevicesSelection.js +26 -0
- package/components/DevicesPicker/hooks/usePanelColumns.d.ts +12 -0
- package/components/DevicesPicker/hooks/usePanelColumns.d.ts.map +1 -0
- package/components/DevicesPicker/hooks/usePanelColumns.js +30 -0
- package/components/DevicesPicker/index.d.ts +11 -0
- package/components/DevicesPicker/index.d.ts.map +1 -0
- package/components/DevicesPicker/slots/DevicesPickerEnum.d.ts +77 -0
- package/components/DevicesPicker/slots/DevicesPickerEnum.d.ts.map +1 -0
- package/components/DevicesPicker/slots/DevicesPickerEnum.js +4 -0
- package/components/DevicesPicker/slots/DevicesPickerSlots.d.ts +112 -0
- package/components/DevicesPicker/slots/DevicesPickerSlots.d.ts.map +1 -0
- package/components/DevicesPicker/slots/DevicesPickerSlots.js +163 -0
- package/components/DevicesPicker/slots/index.d.ts +3 -0
- package/components/DevicesPicker/slots/index.d.ts.map +1 -0
- package/components/DevicesPicker/subcomponents/DeviceCard/DeviceCard.d.ts +8 -0
- package/components/DevicesPicker/subcomponents/DeviceCard/DeviceCard.d.ts.map +1 -0
- package/components/DevicesPicker/subcomponents/DeviceCard/DeviceCard.js +77 -0
- package/components/DevicesPicker/subcomponents/DeviceCard/index.d.ts +3 -0
- package/components/DevicesPicker/subcomponents/DeviceCard/index.d.ts.map +1 -0
- package/components/DevicesPicker/subcomponents/DeviceCard/types.d.ts +42 -0
- package/components/DevicesPicker/subcomponents/DeviceCard/types.d.ts.map +1 -0
- package/components/DevicesPicker/subcomponents/DevicesPanel/DevicesPanel.d.ts +11 -0
- package/components/DevicesPicker/subcomponents/DevicesPanel/DevicesPanel.d.ts.map +1 -0
- package/components/DevicesPicker/subcomponents/DevicesPanel/DevicesPanel.js +141 -0
- package/components/DevicesPicker/subcomponents/DevicesPanel/index.d.ts +3 -0
- package/components/DevicesPicker/subcomponents/DevicesPanel/index.d.ts.map +1 -0
- package/components/DevicesPicker/subcomponents/DevicesPanel/types.d.ts +68 -0
- package/components/DevicesPicker/subcomponents/DevicesPanel/types.d.ts.map +1 -0
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/DevicesPickerSkeleton.d.ts +10 -0
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/DevicesPickerSkeleton.d.ts.map +1 -0
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/DevicesPickerSkeleton.js +35 -0
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/index.d.ts +3 -0
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/index.d.ts.map +1 -0
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/types.d.ts +11 -0
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/types.d.ts.map +1 -0
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/SelectedDevicesList.d.ts +11 -0
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/SelectedDevicesList.d.ts.map +1 -0
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/SelectedDevicesList.js +61 -0
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/index.d.ts +3 -0
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/index.d.ts.map +1 -0
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/types.d.ts +32 -0
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/types.d.ts.map +1 -0
- package/components/DevicesPicker/types.d.ts +171 -0
- package/components/DevicesPicker/types.d.ts.map +1 -0
- package/components/DynamicFilter/DynamicFilter.styles.d.ts.map +1 -1
- package/components/DynamicFilter/DynamicFilter.styles.js +41 -33
- package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.js +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/index.d.ts.map +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/index.js +24 -24
- package/components/DynamicFilter/types.d.ts +9 -1
- package/components/DynamicFilter/types.d.ts.map +1 -1
- package/components/DynamicSort/subcomponents/AppliedSorts/useAppliedSorts.d.ts +1 -1
- package/components/DynamicSort/subcomponents/AppliedSorts/useAppliedSorts.js +1 -1
- package/components/extended/mui/CheckBox/CheckBox.js +7 -7
- package/components/extended/mui/Select/Select.js +6 -6
- package/components/hook-form/RHFDevicesPicker/RHFDevicesPicker.d.ts +21 -0
- package/components/hook-form/RHFDevicesPicker/RHFDevicesPicker.d.ts.map +1 -0
- package/components/hook-form/RHFDevicesPicker/RHFDevicesPicker.js +6 -0
- package/components/hook-form/RHFDevicesPicker/index.d.ts +3 -0
- package/components/hook-form/RHFDevicesPicker/index.d.ts.map +1 -0
- package/components/hook-form/RHFDevicesPicker/types.d.ts +8 -0
- package/components/hook-form/RHFDevicesPicker/types.d.ts.map +1 -0
- package/components/hook-form/index.d.ts +3 -0
- package/components/hook-form/index.d.ts.map +1 -1
- package/components/hook-form/renderAsRegistry.d.ts +33 -0
- package/components/hook-form/renderAsRegistry.d.ts.map +1 -0
- package/components/hook-form/renderAsRegistry.js +7 -0
- package/components/index.d.ts +1 -0
- package/components/index.d.ts.map +1 -1
- package/helpers/resolveDeviceIconSrc/constants.d.ts +14 -0
- package/helpers/resolveDeviceIconSrc/constants.d.ts.map +1 -0
- package/helpers/resolveDeviceIconSrc/constants.js +6 -0
- package/helpers/resolveDeviceIconSrc/index.d.ts +3 -0
- package/helpers/resolveDeviceIconSrc/index.d.ts.map +1 -0
- package/helpers/resolveDeviceIconSrc/resolveDeviceIconSrc.d.ts +14 -0
- package/helpers/resolveDeviceIconSrc/resolveDeviceIconSrc.d.ts.map +1 -0
- package/helpers/resolveDeviceIconSrc/resolveDeviceIconSrc.js +8 -0
- package/helpers/resolveDeviceLabels/index.d.ts +3 -0
- package/helpers/resolveDeviceLabels/index.d.ts.map +1 -0
- package/helpers/resolveDeviceLabels/resolveDeviceLabels.d.ts +22 -0
- package/helpers/resolveDeviceLabels/resolveDeviceLabels.d.ts.map +1 -0
- package/helpers/resolveDeviceLabels/resolveDeviceLabels.js +10 -0
- package/helpers/resolveDeviceLabels/types.d.ts +19 -0
- package/helpers/resolveDeviceLabels/types.d.ts.map +1 -0
- package/hooks/useChipsOverflow/helpers/calculateLeftoverWidth.d.ts +14 -0
- package/hooks/useChipsOverflow/helpers/calculateLeftoverWidth.d.ts.map +1 -0
- package/hooks/useChipsOverflow/helpers/calculateLeftoverWidth.js +7 -0
- package/hooks/useChipsOverflow/helpers/calculateVisibleChipsCount.d.ts.map +1 -0
- package/hooks/useChipsOverflow/helpers/index.d.ts +3 -0
- package/hooks/useChipsOverflow/helpers/index.d.ts.map +1 -0
- package/hooks/useChipsOverflow/index.d.ts +3 -0
- package/hooks/useChipsOverflow/index.d.ts.map +1 -0
- package/hooks/useChipsOverflow/types.d.ts +24 -0
- package/hooks/useChipsOverflow/types.d.ts.map +1 -0
- package/{components/DynamicFilter/hooks → hooks/useChipsOverflow}/useChipsOverflow.d.ts +7 -5
- package/hooks/useChipsOverflow/useChipsOverflow.d.ts.map +1 -0
- package/hooks/useChipsOverflow/useChipsOverflow.js +110 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +803 -757
- package/package.json +10 -10
- package/components/DynamicFilter/helpers/calculateVisibleChipsCount.d.ts.map +0 -1
- package/components/DynamicFilter/hooks/useChipsOverflow.d.ts.map +0 -1
- package/components/DynamicFilter/hooks/useChipsOverflow.js +0 -83
- /package/{components/DynamicFilter → hooks/useChipsOverflow}/helpers/calculateVisibleChipsCount.d.ts +0 -0
- /package/{components/DynamicFilter → hooks/useChipsOverflow}/helpers/calculateVisibleChipsCount.js +0 -0
package/@types/types.d.ts
CHANGED
|
@@ -341,6 +341,7 @@ import {
|
|
|
341
341
|
IconsFormatterSlotsType,
|
|
342
342
|
} from '../components/formatters/IconsFormatter/types';
|
|
343
343
|
import { CheckableListOwnerState, CheckableListSlotsType } from '../components/CheckableList/types';
|
|
344
|
+
import { DevicesPickerOwnerState, DevicesPickerSlotsType } from '../components/DevicesPicker/types';
|
|
344
345
|
import { RHFDatePickerOwnerState, RHFDatePickerSlotsType } from '../components/hook-form/RHFDatePicker/types';
|
|
345
346
|
import { DatePickerOwnerState, DatePickerSlotsType } from '../components/extended/mui/DatePicker/types';
|
|
346
347
|
import {
|
|
@@ -492,6 +493,7 @@ declare module '@mui/material/styles' {
|
|
|
492
493
|
M4LTagsFormatter: TagsFormatterSlotsType;
|
|
493
494
|
M4LIconsFormatter: IconsFormatterSlotsType;
|
|
494
495
|
M4LCheckableList: CheckableListSlotsType;
|
|
496
|
+
M4LDevicesPicker: DevicesPickerSlotsType;
|
|
495
497
|
M4LRHFDatePicker: RHFDatePickerSlotsType;
|
|
496
498
|
M4LDatePicker: DatePickerSlotsType;
|
|
497
499
|
M4LDateRangeCalendarPicker: DateRangeCalendarPickerSlotsType;
|
|
@@ -608,6 +610,7 @@ declare module '@mui/material/styles' {
|
|
|
608
610
|
M4LTagsFormatter: Partial<TagsFormatterOwnerState>;
|
|
609
611
|
M4LIconsFormatter: Partial<IconsFormatterOwnerState>;
|
|
610
612
|
M4LCheckableList: Partial<CheckableListOwnerState>;
|
|
613
|
+
M4LDevicesPicker: Partial<DevicesPickerOwnerState>;
|
|
611
614
|
M4LDatePicker: Partial<DatePickerOwnerState>;
|
|
612
615
|
M4LRHFDatePicker: Partial<RHFDatePickerOwnerState>;
|
|
613
616
|
M4LDateRangeCalendarPicker: Partial<DateRangeCalendarPickerOwnerState>;
|
|
@@ -1119,6 +1122,11 @@ declare module '@mui/material/styles' {
|
|
|
1119
1122
|
styleOverrides?: ComponentsOverrides<Theme>['M4LCheckableList'];
|
|
1120
1123
|
variants?: ComponentsVariants['M4LCheckableList'];
|
|
1121
1124
|
};
|
|
1125
|
+
M4LDevicesPicker?: {
|
|
1126
|
+
defaultProps?: ComponentsPropsList['M4LDevicesPicker'];
|
|
1127
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LDevicesPicker'];
|
|
1128
|
+
variants?: ComponentsVariants['M4LDevicesPicker'];
|
|
1129
|
+
};
|
|
1122
1130
|
M4LRHFDatePicker?: {
|
|
1123
1131
|
defaultProps?: ComponentsPropsList['M4LRHFDatePicker'];
|
|
1124
1132
|
styleOverrides?: ComponentsOverrides<Theme>['M4LRHFDatePicker'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckableList.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/CheckableList/CheckableList.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAEnB,MAAM,SAAS,CAAC;AAgCjB;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,
|
|
1
|
+
{"version":3,"file":"CheckableList.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/CheckableList/CheckableList.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAEnB,MAAM,SAAS,CAAC;AAgCjB;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,qDAiTtD,CAAC"}
|
|
@@ -1,138 +1,147 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import
|
|
4
|
-
import { CHECKABLE_LIST_CLASSES as
|
|
5
|
-
import { useModuleDictionary as
|
|
6
|
-
import { DICCTIONARY as
|
|
7
|
-
import { useSizeContainer as
|
|
8
|
-
import { useStateRef as
|
|
9
|
-
import { Icon as
|
|
10
|
-
import { useCheckableListState as
|
|
11
|
-
import { useCheckableListItems as
|
|
12
|
-
import { useCheckableListSelection as
|
|
13
|
-
import { useCheckableListHandlers as
|
|
14
|
-
import { useCheckableListVirtualization as
|
|
15
|
-
import { useCheckableListRender as
|
|
16
|
-
import { RootStyled as
|
|
17
|
-
import { Skeleton as
|
|
18
|
-
import { ImageText as
|
|
19
|
-
const
|
|
1
|
+
import { jsx as e, jsxs as R } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useRef as v } from "react";
|
|
3
|
+
import T from "clsx";
|
|
4
|
+
import { CHECKABLE_LIST_CLASSES as a } from "./constants.js";
|
|
5
|
+
import { useModuleDictionary as Ce } from "@m4l/core";
|
|
6
|
+
import { DICCTIONARY as m } from "./dictionary.js";
|
|
7
|
+
import { useSizeContainer as ye } from "../../hooks/useSizeContainer/index.js";
|
|
8
|
+
import { useStateRef as Ie } from "../../hooks/useStateRef/index.js";
|
|
9
|
+
import { Icon as xe } from "@m4l/base";
|
|
10
|
+
import { useCheckableListState as Le } from "./hooks/useCheckableListState.js";
|
|
11
|
+
import { useCheckableListItems as ke } from "./hooks/useCheckableListItems.js";
|
|
12
|
+
import { useCheckableListSelection as we } from "./hooks/useCheckableListSelection.js";
|
|
13
|
+
import { useCheckableListHandlers as ze } from "./hooks/useCheckableListHandlers.js";
|
|
14
|
+
import { useCheckableListVirtualization as He } from "./hooks/useCheckableListVirtualization.js";
|
|
15
|
+
import { useCheckableListRender as Ae } from "./hooks/useCheckableListRender.js";
|
|
16
|
+
import { RootStyled as _, LoadingContainerStyled as Ge, SearchContainerStyled as Re, SearchInputStyled as ve, SelectAllContainerStyled as Te, SelectAllCheckboxStyled as _e, ChipCountTypografyStyled as Ee, ListContainerStyled as Ne, VirtualizedListStyled as Ve, VirtualContainerStyled as Be, VirtualRowStyled as Oe, EmptyMessageWrapperStyled as je } from "./slots/styled.js";
|
|
17
|
+
import { Skeleton as De } from "../extended/mui/Skeleton/Skeleton.js";
|
|
18
|
+
import { ImageText as Fe } from "../ImageText/ImageText.js";
|
|
19
|
+
const ot = (E) => {
|
|
20
20
|
const {
|
|
21
|
-
value:
|
|
21
|
+
value: i = [],
|
|
22
22
|
onChange: N,
|
|
23
23
|
items: V = [],
|
|
24
|
-
groups:
|
|
25
|
-
multiple:
|
|
24
|
+
groups: u,
|
|
25
|
+
multiple: r = !0,
|
|
26
26
|
selectAll: B = !1,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
selectAllLabel: O,
|
|
28
|
+
selectAllCount: j,
|
|
29
|
+
groupable: D = !0,
|
|
30
|
+
expandAllGroups: F = !0,
|
|
31
|
+
searchable: M = !1,
|
|
32
|
+
filterFn: P,
|
|
33
|
+
onSearchChange: Q,
|
|
34
|
+
size: o = "medium",
|
|
32
35
|
variant: g = "standard",
|
|
33
|
-
width:
|
|
36
|
+
width: W = "100%",
|
|
34
37
|
checkboxSize: S = "medium",
|
|
35
|
-
showCheckboxOnGroup:
|
|
36
|
-
indeterminateBehavior:
|
|
38
|
+
showCheckboxOnGroup: K = !0,
|
|
39
|
+
indeterminateBehavior: U = "indicate-some",
|
|
37
40
|
className: f,
|
|
38
41
|
"data-testid": b,
|
|
39
42
|
ariaLabel: C,
|
|
40
43
|
ariaLabelledBy: y,
|
|
41
|
-
renderItem:
|
|
42
|
-
renderGroup:
|
|
43
|
-
loading:
|
|
44
|
-
disabled:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
renderItem: Y,
|
|
45
|
+
renderGroup: q,
|
|
46
|
+
loading: J = !1,
|
|
47
|
+
disabled: n = !1,
|
|
48
|
+
measureImmediately: X = !1,
|
|
49
|
+
itemRowHeight: Z,
|
|
50
|
+
groupRowHeight: $
|
|
51
|
+
} = E, I = v(null), [ee, te] = Ie(null), s = ye(ee, {
|
|
48
52
|
// excludePadding: true,
|
|
49
|
-
|
|
50
|
-
|
|
53
|
+
leading: X
|
|
54
|
+
}), { getLabel: c } = Ce(), d = v(s?.containerHeight ?? 0);
|
|
55
|
+
d.current !== s?.containerHeight && s?.containerHeight !== 0 && (d.current = s?.containerHeight ?? 0);
|
|
51
56
|
const {
|
|
52
57
|
searchQuery: x,
|
|
53
|
-
setSearchQuery:
|
|
58
|
+
setSearchQuery: le,
|
|
54
59
|
expandedGroups: L,
|
|
55
|
-
itemHeights:
|
|
56
|
-
handleGroupExpandToggle:
|
|
57
|
-
} =
|
|
58
|
-
groups:
|
|
59
|
-
expandAllGroups:
|
|
60
|
+
itemHeights: re,
|
|
61
|
+
handleGroupExpandToggle: ae
|
|
62
|
+
} = Le({
|
|
63
|
+
groups: u,
|
|
64
|
+
expandAllGroups: F
|
|
60
65
|
}), {
|
|
61
66
|
isGrouped: h,
|
|
62
67
|
normalizedItems: k,
|
|
63
|
-
filteredItems:
|
|
64
|
-
filteredGroups:
|
|
68
|
+
filteredItems: ie,
|
|
69
|
+
filteredGroups: oe,
|
|
65
70
|
virtualizedItems: w
|
|
66
|
-
} =
|
|
71
|
+
} = ke({
|
|
67
72
|
items: V,
|
|
68
|
-
groups:
|
|
73
|
+
groups: u,
|
|
69
74
|
searchQuery: x,
|
|
70
|
-
filterFn:
|
|
75
|
+
filterFn: P,
|
|
71
76
|
expandedGroups: L
|
|
72
77
|
}), {
|
|
73
78
|
getGroupItems: z,
|
|
74
79
|
isItemSelected: H,
|
|
75
|
-
isGroupFullySelected:
|
|
76
|
-
isGroupPartiallySelected:
|
|
80
|
+
isGroupFullySelected: A,
|
|
81
|
+
isGroupPartiallySelected: ne,
|
|
77
82
|
areAllItemsSelected: p,
|
|
78
|
-
areSomeItemsSelected:
|
|
79
|
-
} =
|
|
80
|
-
value:
|
|
83
|
+
areSomeItemsSelected: se
|
|
84
|
+
} = we({
|
|
85
|
+
value: i,
|
|
81
86
|
normalizedItems: k,
|
|
82
|
-
groups:
|
|
87
|
+
groups: u,
|
|
83
88
|
isGrouped: h
|
|
84
|
-
}), { handleItemToggle:
|
|
85
|
-
value:
|
|
89
|
+
}), { handleItemToggle: ce, handleGroupToggle: de, handleSelectAllToggle: me } = ze({
|
|
90
|
+
value: i,
|
|
86
91
|
onChange: N,
|
|
87
|
-
multiple:
|
|
88
|
-
disabled:
|
|
92
|
+
multiple: r,
|
|
93
|
+
disabled: n,
|
|
89
94
|
normalizedItems: k,
|
|
90
95
|
getGroupItems: z,
|
|
91
|
-
isGroupFullySelected:
|
|
96
|
+
isGroupFullySelected: A,
|
|
92
97
|
isItemSelected: H,
|
|
93
98
|
areAllItemsSelected: p
|
|
94
|
-
}), { getItemSize:
|
|
99
|
+
}), { getItemSize: ue, virtualizer: he, virtualItems: pe, totalSize: ge } = He({
|
|
95
100
|
virtualizedItems: w,
|
|
96
|
-
itemHeights:
|
|
97
|
-
defaultItemRowHeight:
|
|
98
|
-
defaultGroupRowHeight:
|
|
101
|
+
itemHeights: re,
|
|
102
|
+
defaultItemRowHeight: Z,
|
|
103
|
+
defaultGroupRowHeight: $,
|
|
99
104
|
scrollElementRef: I
|
|
100
|
-
}), { renderVirtualizedItem:
|
|
105
|
+
}), { renderVirtualizedItem: Se, urlIconSearch: fe, urlIconNoResults: be } = Ae({
|
|
101
106
|
isItemSelected: H,
|
|
102
|
-
disabled:
|
|
103
|
-
size:
|
|
107
|
+
disabled: n,
|
|
108
|
+
size: o,
|
|
104
109
|
variant: g,
|
|
105
110
|
checkboxSize: S,
|
|
106
|
-
|
|
107
|
-
|
|
111
|
+
multiple: r,
|
|
112
|
+
handleItemToggle: ce,
|
|
113
|
+
renderItem: Y,
|
|
108
114
|
expandedGroups: L,
|
|
109
|
-
isGroupFullySelected:
|
|
110
|
-
isGroupPartiallySelected:
|
|
115
|
+
isGroupFullySelected: A,
|
|
116
|
+
isGroupPartiallySelected: ne,
|
|
111
117
|
getGroupItems: z,
|
|
112
|
-
indeterminateBehavior:
|
|
113
|
-
renderGroup:
|
|
114
|
-
groupable:
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
indeterminateBehavior: U,
|
|
119
|
+
renderGroup: q,
|
|
120
|
+
groupable: D,
|
|
121
|
+
// En selección única no existe "seleccionar todo el grupo": el checkbox
|
|
122
|
+
// de lote del header marcaría N items a la vez, que es justo lo que
|
|
123
|
+
// multiple={false} prohíbe.
|
|
124
|
+
showCheckboxOnGroup: r && K,
|
|
125
|
+
handleGroupExpandToggle: ae,
|
|
126
|
+
handleGroupToggle: de
|
|
118
127
|
}), t = {
|
|
119
|
-
size:
|
|
128
|
+
size: o,
|
|
120
129
|
variant: g,
|
|
121
|
-
disabled:
|
|
130
|
+
disabled: n,
|
|
122
131
|
grouped: h,
|
|
123
|
-
hasSelected:
|
|
132
|
+
hasSelected: i.length > 0
|
|
124
133
|
};
|
|
125
|
-
if (
|
|
134
|
+
if (J)
|
|
126
135
|
return /* @__PURE__ */ e(
|
|
127
|
-
|
|
136
|
+
_,
|
|
128
137
|
{
|
|
129
138
|
ownerState: t,
|
|
130
|
-
className:
|
|
139
|
+
className: T(f, a.root),
|
|
131
140
|
"data-testid": b,
|
|
132
141
|
"aria-label": C || "checkable list",
|
|
133
142
|
"aria-labelledby": y,
|
|
134
|
-
children: /* @__PURE__ */ e(
|
|
135
|
-
|
|
143
|
+
children: /* @__PURE__ */ e(Ge, { ownerState: t, children: /* @__PURE__ */ e(
|
|
144
|
+
De,
|
|
136
145
|
{
|
|
137
146
|
variant: "rectangular",
|
|
138
147
|
width: "100%",
|
|
@@ -144,97 +153,108 @@ const rt = (E) => {
|
|
|
144
153
|
) })
|
|
145
154
|
}
|
|
146
155
|
);
|
|
147
|
-
const G = h ?
|
|
148
|
-
return /* @__PURE__ */
|
|
149
|
-
|
|
156
|
+
const G = h ? oe.length > 0 : ie.length > 0;
|
|
157
|
+
return /* @__PURE__ */ R(
|
|
158
|
+
_,
|
|
150
159
|
{
|
|
151
160
|
ownerState: t,
|
|
152
|
-
className:
|
|
161
|
+
className: T(f, a.root),
|
|
153
162
|
"data-testid": b,
|
|
154
163
|
role: "group",
|
|
155
164
|
"aria-label": C || "checkable list",
|
|
156
165
|
"aria-labelledby": y,
|
|
157
166
|
children: [
|
|
158
|
-
|
|
159
|
-
|
|
167
|
+
M && /* @__PURE__ */ e(Re, { ownerState: t, role: "search", children: /* @__PURE__ */ e(
|
|
168
|
+
ve,
|
|
160
169
|
{
|
|
161
170
|
role: "searchbox",
|
|
162
171
|
"aria-label": "search",
|
|
163
172
|
ownerState: t,
|
|
164
173
|
value: x,
|
|
165
|
-
onChange: (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
174
|
+
onChange: (l) => {
|
|
175
|
+
le(l.target.value), Q?.(l.target.value);
|
|
176
|
+
},
|
|
177
|
+
placeholder: c(m.label_search_placeholder),
|
|
178
|
+
size: o,
|
|
179
|
+
className: a.searchInput,
|
|
169
180
|
variant: "contained",
|
|
170
181
|
InputProps: {
|
|
171
|
-
startAdornment: /* @__PURE__ */ e(
|
|
182
|
+
startAdornment: /* @__PURE__ */ e(xe, { src: fe })
|
|
172
183
|
}
|
|
173
184
|
}
|
|
174
185
|
) }),
|
|
175
|
-
B && G &&
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
186
|
+
B && G && r && /* @__PURE__ */ R(
|
|
187
|
+
Te,
|
|
188
|
+
{
|
|
189
|
+
ownerState: t,
|
|
190
|
+
className: a.selectAllContainer,
|
|
191
|
+
role: "group",
|
|
192
|
+
"aria-label": "Seleccionar todo",
|
|
193
|
+
children: [
|
|
194
|
+
/* @__PURE__ */ e(
|
|
195
|
+
_e,
|
|
196
|
+
{
|
|
197
|
+
checked: p,
|
|
198
|
+
indeterminate: se && !p,
|
|
199
|
+
disabled: n,
|
|
200
|
+
size: S,
|
|
201
|
+
onChange: me,
|
|
202
|
+
inlineText: O ?? c(m.label_select_all)
|
|
203
|
+
}
|
|
204
|
+
),
|
|
205
|
+
/* @__PURE__ */ e(
|
|
206
|
+
Ee,
|
|
207
|
+
{
|
|
208
|
+
ownerState: t,
|
|
209
|
+
variant: "bodyStandard",
|
|
210
|
+
size: o,
|
|
211
|
+
color: "text.disabled",
|
|
212
|
+
children: j ?? i.length
|
|
213
|
+
}
|
|
214
|
+
)
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
),
|
|
198
218
|
/* @__PURE__ */ e(
|
|
199
|
-
|
|
219
|
+
Ne,
|
|
200
220
|
{
|
|
201
|
-
ref:
|
|
221
|
+
ref: te,
|
|
202
222
|
ownerState: { ...t },
|
|
203
|
-
"aria-multiselectable":
|
|
204
|
-
children: G ?
|
|
205
|
-
|
|
223
|
+
"aria-multiselectable": r ? "true" : "false",
|
|
224
|
+
children: G ? d.current > 0 ? /* @__PURE__ */ e(
|
|
225
|
+
Ve,
|
|
206
226
|
{
|
|
207
227
|
ref: I,
|
|
208
228
|
ownerState: {
|
|
209
229
|
...t,
|
|
210
|
-
listHeight:
|
|
211
|
-
listWidth:
|
|
230
|
+
listHeight: d.current,
|
|
231
|
+
listWidth: W
|
|
212
232
|
},
|
|
213
|
-
className:
|
|
214
|
-
children: /* @__PURE__ */ e(
|
|
215
|
-
|
|
233
|
+
className: a.virtualizedList,
|
|
234
|
+
children: /* @__PURE__ */ e(Be, { ownerState: { ...t, totalSize: ge }, children: pe.map((l) => /* @__PURE__ */ e(
|
|
235
|
+
Oe,
|
|
216
236
|
{
|
|
217
|
-
ref:
|
|
218
|
-
"data-index":
|
|
237
|
+
ref: he.measureElement,
|
|
238
|
+
"data-index": l.index,
|
|
219
239
|
ownerState: {
|
|
220
240
|
...t,
|
|
221
|
-
offsetTop:
|
|
222
|
-
minRowHeight:
|
|
241
|
+
offsetTop: l.start,
|
|
242
|
+
minRowHeight: ue(l.index)
|
|
223
243
|
},
|
|
224
|
-
children:
|
|
225
|
-
index:
|
|
244
|
+
children: Se({
|
|
245
|
+
index: l.index,
|
|
226
246
|
virtualizedItems: w
|
|
227
247
|
})
|
|
228
248
|
},
|
|
229
|
-
|
|
249
|
+
l.key
|
|
230
250
|
)) })
|
|
231
251
|
}
|
|
232
|
-
) : null : /* @__PURE__ */ e(
|
|
233
|
-
|
|
252
|
+
) : null : /* @__PURE__ */ e(je, { ownerState: t, role: "status", "aria-live": "polite", children: /* @__PURE__ */ e(
|
|
253
|
+
Fe,
|
|
234
254
|
{
|
|
235
|
-
title:
|
|
236
|
-
message:
|
|
237
|
-
imageUrl:
|
|
255
|
+
title: c(m.label_no_results),
|
|
256
|
+
message: c(m.label_no_results_description),
|
|
257
|
+
imageUrl: be
|
|
238
258
|
}
|
|
239
259
|
) })
|
|
240
260
|
}
|
|
@@ -244,5 +264,5 @@ const rt = (E) => {
|
|
|
244
264
|
);
|
|
245
265
|
};
|
|
246
266
|
export {
|
|
247
|
-
|
|
267
|
+
ot as CheckableList
|
|
248
268
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckableList.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/CheckableList/CheckableList.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAI9C,eAAO,MAAM,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"CheckableList.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/CheckableList/CheckableList.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAI9C,eAAO,MAAM,mBAAmB,EAAE,mBA0SjC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getContrastTextColor as
|
|
2
|
-
import { getSizeStyles as
|
|
1
|
+
import { getContrastTextColor as s } from "@m4l/graphics";
|
|
2
|
+
import { getSizeStyles as t } from "../../utils/getSizeStyles/getSizeStyles.js";
|
|
3
3
|
const n = {
|
|
4
4
|
/**
|
|
5
5
|
* Root: Estilos del contenedor principal del componente.
|
|
@@ -29,7 +29,7 @@ const n = {
|
|
|
29
29
|
*/
|
|
30
30
|
searchInput: ({ theme: e, ownerState: i }) => ({
|
|
31
31
|
width: "100%",
|
|
32
|
-
...
|
|
32
|
+
...t(e, i?.size || "medium", "container", (a) => ({
|
|
33
33
|
height: a,
|
|
34
34
|
minHeight: a
|
|
35
35
|
}))
|
|
@@ -125,7 +125,19 @@ const n = {
|
|
|
125
125
|
*/
|
|
126
126
|
itemCheckbox: ({ theme: e, ownerState: i }) => ({
|
|
127
127
|
flexShrink: 0,
|
|
128
|
-
...
|
|
128
|
+
...t(e, i?.size || "medium", "action", (a) => ({
|
|
129
|
+
width: a,
|
|
130
|
+
height: a
|
|
131
|
+
}))
|
|
132
|
+
}),
|
|
133
|
+
/**
|
|
134
|
+
* itemRadio: Estilos del radio del item (selección única, multiple={false}).
|
|
135
|
+
* Comparte geometría con itemCheckbox para que la fila no cambie de alto
|
|
136
|
+
* ni de alineación al alternar entre selección múltiple y única.
|
|
137
|
+
*/
|
|
138
|
+
itemRadio: ({ theme: e, ownerState: i }) => ({
|
|
139
|
+
flexShrink: 0,
|
|
140
|
+
...t(e, i?.size || "medium", "action", (a) => ({
|
|
129
141
|
width: a,
|
|
130
142
|
height: a
|
|
131
143
|
}))
|
|
@@ -155,7 +167,7 @@ const n = {
|
|
|
155
167
|
alignItems: "center",
|
|
156
168
|
justifyContent: "center",
|
|
157
169
|
flexShrink: 0,
|
|
158
|
-
...
|
|
170
|
+
...t(e, "medium", "action", (i) => ({
|
|
159
171
|
width: i,
|
|
160
172
|
height: i
|
|
161
173
|
}))
|
|
@@ -215,7 +227,7 @@ const n = {
|
|
|
215
227
|
paddingLeft: e.vars.size.baseSpacings.sp1,
|
|
216
228
|
paddingRight: e.vars.size.baseSpacings.sp1,
|
|
217
229
|
backgroundColor: i?.color ?? e.vars.palette.background.surface,
|
|
218
|
-
color: i?.color ?
|
|
230
|
+
color: i?.color ? s(i?.color) : e.vars.palette.text.secondary
|
|
219
231
|
}
|
|
220
232
|
}),
|
|
221
233
|
/**
|
|
@@ -226,7 +238,7 @@ const n = {
|
|
|
226
238
|
alignItems: "center",
|
|
227
239
|
justifyContent: "center",
|
|
228
240
|
flexShrink: 0,
|
|
229
|
-
...
|
|
241
|
+
...t(e, "medium", "action", (i) => ({
|
|
230
242
|
width: i,
|
|
231
243
|
height: i
|
|
232
244
|
}))
|
|
@@ -236,7 +248,7 @@ const n = {
|
|
|
236
248
|
*/
|
|
237
249
|
groupToggleButton: ({ theme: e, ownerState: i }) => ({
|
|
238
250
|
flexShrink: 0,
|
|
239
|
-
...
|
|
251
|
+
...t(e, i?.size || "medium", "action", (a) => ({
|
|
240
252
|
width: a,
|
|
241
253
|
height: a
|
|
242
254
|
}))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const CHECKABLE_LIST_KEY_COMPONENT = "M4LCheckableList";
|
|
2
|
-
export declare const CHECKABLE_LIST_CLASSES: Record<"root" | "searchContainer" | "searchInput" | "selectAllContainer" | "selectAllCheckbox" | "listContainer" | "virtualizedList" | "virtualContainer" | "virtualRow" | "itemWrapper" | "itemCheckbox" | "itemContentWrapper" | "itemLabel" | "itemDescription" | "itemIcon" | "groupWrapper" | "groupHeader" | "groupCheckbox" | "groupLabelCountWrapper" | "
|
|
2
|
+
export declare const CHECKABLE_LIST_CLASSES: Record<"root" | "groupLabel" | "searchContainer" | "searchInput" | "selectAllContainer" | "selectAllCheckbox" | "listContainer" | "virtualizedList" | "virtualContainer" | "virtualRow" | "itemWrapper" | "itemCheckbox" | "itemRadio" | "itemContentWrapper" | "itemLabel" | "itemDescription" | "itemIcon" | "groupWrapper" | "groupHeader" | "groupCheckbox" | "groupLabelCountWrapper" | "chipCount" | "groupIcon" | "groupToggleButton" | "groupItems" | "emptyMessageWrapper" | "loadingContainer", string>;
|
|
3
3
|
export declare const CHECKABLE_LIST_DEFAULT_ITEM_ROW_HEIGHT = 36;
|
|
4
4
|
export declare const CHECKABLE_LIST_DEFAULT_ITEM_ROW_HEIGHT_WITH_DESCRIPTION = 46;
|
|
5
5
|
export declare const CHECKABLE_LIST_DEFAULT_GROUP_ROW_HEIGHT = 36;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/CheckableList/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/CheckableList/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D,eAAO,MAAM,sBAAsB,mfAGlC,CAAC;AAEF,eAAO,MAAM,sCAAsC,KAAK,CAAC;AACzD,eAAO,MAAM,uDAAuD,KAAK,CAAC;AAC1E,eAAO,MAAM,uCAAuC,KAAK,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,mCAAmC,IAAI,CAAC"}
|
|
@@ -22,6 +22,11 @@ interface UseCheckableListRenderProps {
|
|
|
22
22
|
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
23
23
|
variant?: 'standard' | 'outlined' | 'compact';
|
|
24
24
|
checkboxSize?: 'small' | 'medium';
|
|
25
|
+
/**
|
|
26
|
+
* Selección múltiple. Cuando es false la fila pinta un Radio en lugar de un
|
|
27
|
+
* CheckBox; la lógica de selección ya la resuelve useCheckableListHandlers.
|
|
28
|
+
*/
|
|
29
|
+
multiple?: boolean;
|
|
25
30
|
handleItemToggle: (itemId: string | number) => void;
|
|
26
31
|
renderItem?: (params: CheckableListRenderItemParams) => React.ReactNode;
|
|
27
32
|
expandedGroups: Set<string | number>;
|
|
@@ -48,6 +53,6 @@ interface UseCheckableListRenderReturn {
|
|
|
48
53
|
/**
|
|
49
54
|
* Handle item and group rendering for CheckableList.
|
|
50
55
|
*/
|
|
51
|
-
export declare const useCheckableListRender: ({ isItemSelected, disabled, size, variant, checkboxSize, handleItemToggle, renderItem, expandedGroups, isGroupFullySelected, isGroupPartiallySelected, getGroupItems, indeterminateBehavior, renderGroup, groupable, showCheckboxOnGroup, handleGroupExpandToggle, handleGroupToggle, }: UseCheckableListRenderProps) => UseCheckableListRenderReturn;
|
|
56
|
+
export declare const useCheckableListRender: ({ isItemSelected, disabled, size, variant, checkboxSize, multiple, handleItemToggle, renderItem, expandedGroups, isGroupFullySelected, isGroupPartiallySelected, getGroupItems, indeterminateBehavior, renderGroup, groupable, showCheckboxOnGroup, handleGroupExpandToggle, handleGroupToggle, }: UseCheckableListRenderProps) => UseCheckableListRenderReturn;
|
|
52
57
|
export {};
|
|
53
58
|
//# sourceMappingURL=useCheckableListRender.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCheckableListRender.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/CheckableList/hooks/useCheckableListRender.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,6BAA6B,EAC7B,2BAA2B,EAC5B,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"useCheckableListRender.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/CheckableList/hooks/useCheckableListRender.tsx"],"names":[],"mappings":"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"}
|