@m4l/components 9.54.2-beta-m4lcom-764-device-picker.1 → 9.54.2
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 +0 -8
- package/components/CheckableList/CheckableList.d.ts.map +1 -1
- package/components/CheckableList/CheckableList.js +143 -163
- package/components/CheckableList/CheckableList.styles.d.ts.map +1 -1
- package/components/CheckableList/CheckableList.styles.js +8 -20
- package/components/CheckableList/constants.d.ts +1 -1
- package/components/CheckableList/constants.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListRender.d.ts +1 -6
- package/components/CheckableList/hooks/useCheckableListRender.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListRender.js +113 -126
- package/components/CheckableList/slots/slots.d.ts +0 -1
- 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 +0 -3
- package/components/CheckableList/slots/styled.d.ts.map +1 -1
- package/components/CheckableList/slots/styled.js +51 -56
- package/components/CheckableList/types.d.ts +0 -20
- 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/DynamicFilter/DynamicFilter.styles.d.ts.map +1 -1
- package/components/DynamicFilter/DynamicFilter.styles.js +33 -41
- package/components/DynamicFilter/helpers/calculateVisibleChipsCount.d.ts.map +1 -0
- package/{hooks/useChipsOverflow → components/DynamicFilter/hooks}/useChipsOverflow.d.ts +5 -6
- package/components/DynamicFilter/hooks/useChipsOverflow.d.ts.map +1 -0
- package/components/DynamicFilter/hooks/useChipsOverflow.js +83 -0
- 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 +1 -9
- 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/datagrids/views/CardsView/CardsView.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/Autocomplete.js +52 -50
- package/components/extended/mui/Autocomplete/hooks/useAutocomplete/useAutocomplete.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/hooks/useAutocomplete/useAutocomplete.js +58 -60
- package/components/extended/mui/CheckBox/CheckBox.js +7 -7
- package/components/extended/mui/Select/Select.js +6 -6
- package/components/hook-form/index.d.ts +0 -3
- package/components/hook-form/index.d.ts.map +1 -1
- package/components/index.d.ts +0 -1
- package/components/index.d.ts.map +1 -1
- package/index.d.ts +0 -2
- package/index.d.ts.map +1 -1
- package/index.js +760 -804
- package/package.json +8 -8
- package/components/DevicesPicker/DevicesPicker.d.ts +0 -14
- package/components/DevicesPicker/DevicesPicker.d.ts.map +0 -1
- package/components/DevicesPicker/DevicesPicker.js +0 -343
- package/components/DevicesPicker/DevicesPicker.styles.d.ts +0 -3
- package/components/DevicesPicker/DevicesPicker.styles.d.ts.map +0 -1
- package/components/DevicesPicker/DevicesPicker.styles.js +0 -495
- package/components/DevicesPicker/constants.d.ts +0 -74
- package/components/DevicesPicker/constants.d.ts.map +0 -1
- package/components/DevicesPicker/constants.js +0 -39
- package/components/DevicesPicker/dictionary.d.ts +0 -19
- package/components/DevicesPicker/dictionary.d.ts.map +0 -1
- package/components/DevicesPicker/dictionary.js +0 -20
- package/components/DevicesPicker/helpers/resolveDeviceGroup.d.ts +0 -11
- package/components/DevicesPicker/helpers/resolveDeviceGroup.d.ts.map +0 -1
- package/components/DevicesPicker/helpers/resolveDeviceGroup.js +0 -14
- package/components/DevicesPicker/helpers/toDeviceArray.d.ts +0 -7
- package/components/DevicesPicker/helpers/toDeviceArray.d.ts.map +0 -1
- package/components/DevicesPicker/helpers/toDeviceArray.js +0 -6
- package/components/DevicesPicker/hooks/types.d.ts +0 -176
- package/components/DevicesPicker/hooks/types.d.ts.map +0 -1
- package/components/DevicesPicker/hooks/useDeviceGroups.d.ts +0 -13
- package/components/DevicesPicker/hooks/useDeviceGroups.d.ts.map +0 -1
- package/components/DevicesPicker/hooks/useDeviceGroups.js +0 -51
- package/components/DevicesPicker/hooks/useDevicesAsyncOptions.d.ts +0 -13
- package/components/DevicesPicker/hooks/useDevicesAsyncOptions.d.ts.map +0 -1
- package/components/DevicesPicker/hooks/useDevicesAsyncOptions.js +0 -71
- package/components/DevicesPicker/hooks/useDevicesSelection.d.ts +0 -12
- package/components/DevicesPicker/hooks/useDevicesSelection.d.ts.map +0 -1
- package/components/DevicesPicker/hooks/useDevicesSelection.js +0 -26
- package/components/DevicesPicker/hooks/usePanelColumns.d.ts +0 -12
- package/components/DevicesPicker/hooks/usePanelColumns.d.ts.map +0 -1
- package/components/DevicesPicker/hooks/usePanelColumns.js +0 -30
- package/components/DevicesPicker/index.d.ts +0 -11
- package/components/DevicesPicker/index.d.ts.map +0 -1
- package/components/DevicesPicker/slots/DevicesPickerEnum.d.ts +0 -77
- package/components/DevicesPicker/slots/DevicesPickerEnum.d.ts.map +0 -1
- package/components/DevicesPicker/slots/DevicesPickerEnum.js +0 -4
- package/components/DevicesPicker/slots/DevicesPickerSlots.d.ts +0 -112
- package/components/DevicesPicker/slots/DevicesPickerSlots.d.ts.map +0 -1
- package/components/DevicesPicker/slots/DevicesPickerSlots.js +0 -163
- package/components/DevicesPicker/slots/index.d.ts +0 -3
- package/components/DevicesPicker/slots/index.d.ts.map +0 -1
- package/components/DevicesPicker/subcomponents/DeviceCard/DeviceCard.d.ts +0 -8
- package/components/DevicesPicker/subcomponents/DeviceCard/DeviceCard.d.ts.map +0 -1
- package/components/DevicesPicker/subcomponents/DeviceCard/DeviceCard.js +0 -77
- package/components/DevicesPicker/subcomponents/DeviceCard/index.d.ts +0 -3
- package/components/DevicesPicker/subcomponents/DeviceCard/index.d.ts.map +0 -1
- package/components/DevicesPicker/subcomponents/DeviceCard/types.d.ts +0 -42
- package/components/DevicesPicker/subcomponents/DeviceCard/types.d.ts.map +0 -1
- package/components/DevicesPicker/subcomponents/DevicesPanel/DevicesPanel.d.ts +0 -11
- package/components/DevicesPicker/subcomponents/DevicesPanel/DevicesPanel.d.ts.map +0 -1
- package/components/DevicesPicker/subcomponents/DevicesPanel/DevicesPanel.js +0 -133
- package/components/DevicesPicker/subcomponents/DevicesPanel/index.d.ts +0 -3
- package/components/DevicesPicker/subcomponents/DevicesPanel/index.d.ts.map +0 -1
- package/components/DevicesPicker/subcomponents/DevicesPanel/types.d.ts +0 -68
- package/components/DevicesPicker/subcomponents/DevicesPanel/types.d.ts.map +0 -1
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/DevicesPickerSkeleton.d.ts +0 -10
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/DevicesPickerSkeleton.d.ts.map +0 -1
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/DevicesPickerSkeleton.js +0 -35
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/index.d.ts +0 -3
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/index.d.ts.map +0 -1
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/types.d.ts +0 -11
- package/components/DevicesPicker/subcomponents/DevicesPickerSkeleton/types.d.ts.map +0 -1
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/SelectedDevicesList.d.ts +0 -11
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/SelectedDevicesList.d.ts.map +0 -1
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/SelectedDevicesList.js +0 -61
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/index.d.ts +0 -3
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/index.d.ts.map +0 -1
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/types.d.ts +0 -32
- package/components/DevicesPicker/subcomponents/SelectedDevicesList/types.d.ts.map +0 -1
- package/components/DevicesPicker/types.d.ts +0 -171
- package/components/DevicesPicker/types.d.ts.map +0 -1
- package/components/hook-form/RHFDevicesPicker/RHFDevicesPicker.d.ts +0 -21
- package/components/hook-form/RHFDevicesPicker/RHFDevicesPicker.d.ts.map +0 -1
- package/components/hook-form/RHFDevicesPicker/RHFDevicesPicker.js +0 -6
- package/components/hook-form/RHFDevicesPicker/index.d.ts +0 -3
- package/components/hook-form/RHFDevicesPicker/index.d.ts.map +0 -1
- package/components/hook-form/RHFDevicesPicker/types.d.ts +0 -8
- package/components/hook-form/RHFDevicesPicker/types.d.ts.map +0 -1
- package/components/hook-form/renderAsRegistry.d.ts +0 -33
- package/components/hook-form/renderAsRegistry.d.ts.map +0 -1
- package/components/hook-form/renderAsRegistry.js +0 -7
- package/helpers/resolveDeviceIconSrc/constants.d.ts +0 -14
- package/helpers/resolveDeviceIconSrc/constants.d.ts.map +0 -1
- package/helpers/resolveDeviceIconSrc/constants.js +0 -6
- package/helpers/resolveDeviceIconSrc/index.d.ts +0 -3
- package/helpers/resolveDeviceIconSrc/index.d.ts.map +0 -1
- package/helpers/resolveDeviceIconSrc/resolveDeviceIconSrc.d.ts +0 -14
- package/helpers/resolveDeviceIconSrc/resolveDeviceIconSrc.d.ts.map +0 -1
- package/helpers/resolveDeviceIconSrc/resolveDeviceIconSrc.js +0 -8
- package/helpers/resolveDeviceLabels/index.d.ts +0 -3
- package/helpers/resolveDeviceLabels/index.d.ts.map +0 -1
- package/helpers/resolveDeviceLabels/resolveDeviceLabels.d.ts +0 -22
- package/helpers/resolveDeviceLabels/resolveDeviceLabels.d.ts.map +0 -1
- package/helpers/resolveDeviceLabels/resolveDeviceLabels.js +0 -10
- package/helpers/resolveDeviceLabels/types.d.ts +0 -19
- package/helpers/resolveDeviceLabels/types.d.ts.map +0 -1
- package/hooks/useChipsOverflow/helpers/calculateVisibleChipsCount.d.ts.map +0 -1
- package/hooks/useChipsOverflow/helpers/index.d.ts +0 -2
- package/hooks/useChipsOverflow/helpers/index.d.ts.map +0 -1
- package/hooks/useChipsOverflow/index.d.ts +0 -3
- package/hooks/useChipsOverflow/index.d.ts.map +0 -1
- package/hooks/useChipsOverflow/types.d.ts +0 -24
- package/hooks/useChipsOverflow/types.d.ts.map +0 -1
- package/hooks/useChipsOverflow/useChipsOverflow.d.ts.map +0 -1
- package/hooks/useChipsOverflow/useChipsOverflow.js +0 -108
- /package/{hooks/useChipsOverflow → components/DynamicFilter}/helpers/calculateVisibleChipsCount.d.ts +0 -0
- /package/{hooks/useChipsOverflow → components/DynamicFilter}/helpers/calculateVisibleChipsCount.js +0 -0
package/@types/types.d.ts
CHANGED
|
@@ -341,7 +341,6 @@ 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';
|
|
345
344
|
import { RHFDatePickerOwnerState, RHFDatePickerSlotsType } from '../components/hook-form/RHFDatePicker/types';
|
|
346
345
|
import { DatePickerOwnerState, DatePickerSlotsType } from '../components/extended/mui/DatePicker/types';
|
|
347
346
|
import {
|
|
@@ -493,7 +492,6 @@ declare module '@mui/material/styles' {
|
|
|
493
492
|
M4LTagsFormatter: TagsFormatterSlotsType;
|
|
494
493
|
M4LIconsFormatter: IconsFormatterSlotsType;
|
|
495
494
|
M4LCheckableList: CheckableListSlotsType;
|
|
496
|
-
M4LDevicesPicker: DevicesPickerSlotsType;
|
|
497
495
|
M4LRHFDatePicker: RHFDatePickerSlotsType;
|
|
498
496
|
M4LDatePicker: DatePickerSlotsType;
|
|
499
497
|
M4LDateRangeCalendarPicker: DateRangeCalendarPickerSlotsType;
|
|
@@ -610,7 +608,6 @@ declare module '@mui/material/styles' {
|
|
|
610
608
|
M4LTagsFormatter: Partial<TagsFormatterOwnerState>;
|
|
611
609
|
M4LIconsFormatter: Partial<IconsFormatterOwnerState>;
|
|
612
610
|
M4LCheckableList: Partial<CheckableListOwnerState>;
|
|
613
|
-
M4LDevicesPicker: Partial<DevicesPickerOwnerState>;
|
|
614
611
|
M4LDatePicker: Partial<DatePickerOwnerState>;
|
|
615
612
|
M4LRHFDatePicker: Partial<RHFDatePickerOwnerState>;
|
|
616
613
|
M4LDateRangeCalendarPicker: Partial<DateRangeCalendarPickerOwnerState>;
|
|
@@ -1122,11 +1119,6 @@ declare module '@mui/material/styles' {
|
|
|
1122
1119
|
styleOverrides?: ComponentsOverrides<Theme>['M4LCheckableList'];
|
|
1123
1120
|
variants?: ComponentsVariants['M4LCheckableList'];
|
|
1124
1121
|
};
|
|
1125
|
-
M4LDevicesPicker?: {
|
|
1126
|
-
defaultProps?: ComponentsPropsList['M4LDevicesPicker'];
|
|
1127
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LDevicesPicker'];
|
|
1128
|
-
variants?: ComponentsVariants['M4LDevicesPicker'];
|
|
1129
|
-
};
|
|
1130
1122
|
M4LRHFDatePicker?: {
|
|
1131
1123
|
defaultProps?: ComponentsPropsList['M4LRHFDatePicker'];
|
|
1132
1124
|
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,qDAiStD,CAAC"}
|
|
@@ -1,147 +1,138 @@
|
|
|
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 T } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useRef as _ } from "react";
|
|
3
|
+
import v from "clsx";
|
|
4
|
+
import { CHECKABLE_LIST_CLASSES as d } from "./constants.js";
|
|
5
|
+
import { useModuleDictionary as ge } from "@m4l/core";
|
|
6
|
+
import { DICCTIONARY as c } from "./dictionary.js";
|
|
7
|
+
import { useSizeContainer as Se } from "../../hooks/useSizeContainer/index.js";
|
|
8
|
+
import { useStateRef as fe } from "../../hooks/useStateRef/index.js";
|
|
9
|
+
import { Icon as be } from "@m4l/base";
|
|
10
|
+
import { useCheckableListState as Ce } from "./hooks/useCheckableListState.js";
|
|
11
|
+
import { useCheckableListItems as ye } from "./hooks/useCheckableListItems.js";
|
|
12
|
+
import { useCheckableListSelection as Ie } from "./hooks/useCheckableListSelection.js";
|
|
13
|
+
import { useCheckableListHandlers as xe } from "./hooks/useCheckableListHandlers.js";
|
|
14
|
+
import { useCheckableListVirtualization as Le } from "./hooks/useCheckableListVirtualization.js";
|
|
15
|
+
import { useCheckableListRender as ke } from "./hooks/useCheckableListRender.js";
|
|
16
|
+
import { RootStyled as A, LoadingContainerStyled as we, SearchContainerStyled as ze, SearchInputStyled as He, SelectAllContainerStyled as Re, SelectAllCheckboxStyled as Ge, ChipCountTypografyStyled as Te, ListContainerStyled as _e, VirtualizedListStyled as ve, VirtualContainerStyled as Ae, VirtualRowStyled as Ee, EmptyMessageWrapperStyled as Ne } from "./slots/styled.js";
|
|
17
|
+
import { Skeleton as Ve } from "../extended/mui/Skeleton/Skeleton.js";
|
|
18
|
+
import { ImageText as Be } from "../ImageText/ImageText.js";
|
|
19
|
+
const rt = (E) => {
|
|
20
20
|
const {
|
|
21
|
-
value:
|
|
21
|
+
value: l = [],
|
|
22
22
|
onChange: N,
|
|
23
23
|
items: V = [],
|
|
24
|
-
groups:
|
|
25
|
-
multiple:
|
|
24
|
+
groups: m,
|
|
25
|
+
multiple: u = !0,
|
|
26
26
|
selectAll: B = !1,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
filterFn: P,
|
|
33
|
-
onSearchChange: Q,
|
|
34
|
-
size: o = "medium",
|
|
27
|
+
groupable: j = !0,
|
|
28
|
+
expandAllGroups: D = !0,
|
|
29
|
+
searchable: F = !1,
|
|
30
|
+
filterFn: M,
|
|
31
|
+
size: a = "medium",
|
|
35
32
|
variant: g = "standard",
|
|
36
|
-
width:
|
|
33
|
+
width: O = "100%",
|
|
37
34
|
checkboxSize: S = "medium",
|
|
38
|
-
showCheckboxOnGroup:
|
|
39
|
-
indeterminateBehavior:
|
|
35
|
+
showCheckboxOnGroup: P = !0,
|
|
36
|
+
indeterminateBehavior: Q = "indicate-some",
|
|
40
37
|
className: f,
|
|
41
38
|
"data-testid": b,
|
|
42
39
|
ariaLabel: C,
|
|
43
40
|
ariaLabelledBy: y,
|
|
44
|
-
renderItem:
|
|
45
|
-
renderGroup:
|
|
46
|
-
loading:
|
|
47
|
-
disabled:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} = E, I = v(null), [ee, te] = Ie(null), s = ye(ee, {
|
|
41
|
+
renderItem: W,
|
|
42
|
+
renderGroup: K,
|
|
43
|
+
loading: U = !1,
|
|
44
|
+
disabled: i = !1,
|
|
45
|
+
itemRowHeight: Y,
|
|
46
|
+
groupRowHeight: q
|
|
47
|
+
} = E, I = _(null), [J, X] = fe(null), o = Se(J, {
|
|
52
48
|
// excludePadding: true,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
d.current !== s?.containerHeight && s?.containerHeight !== 0 && (d.current = s?.containerHeight ?? 0);
|
|
49
|
+
}), { getLabel: n } = ge(), s = _(o?.containerHeight ?? 0);
|
|
50
|
+
s.current !== o?.containerHeight && o?.containerHeight !== 0 && (s.current = o?.containerHeight ?? 0);
|
|
56
51
|
const {
|
|
57
52
|
searchQuery: x,
|
|
58
|
-
setSearchQuery:
|
|
53
|
+
setSearchQuery: Z,
|
|
59
54
|
expandedGroups: L,
|
|
60
|
-
itemHeights:
|
|
61
|
-
handleGroupExpandToggle:
|
|
62
|
-
} =
|
|
63
|
-
groups:
|
|
64
|
-
expandAllGroups:
|
|
55
|
+
itemHeights: $,
|
|
56
|
+
handleGroupExpandToggle: ee
|
|
57
|
+
} = Ce({
|
|
58
|
+
groups: m,
|
|
59
|
+
expandAllGroups: D
|
|
65
60
|
}), {
|
|
66
61
|
isGrouped: h,
|
|
67
62
|
normalizedItems: k,
|
|
68
|
-
filteredItems:
|
|
69
|
-
filteredGroups:
|
|
63
|
+
filteredItems: te,
|
|
64
|
+
filteredGroups: re,
|
|
70
65
|
virtualizedItems: w
|
|
71
|
-
} =
|
|
66
|
+
} = ye({
|
|
72
67
|
items: V,
|
|
73
|
-
groups:
|
|
68
|
+
groups: m,
|
|
74
69
|
searchQuery: x,
|
|
75
|
-
filterFn:
|
|
70
|
+
filterFn: M,
|
|
76
71
|
expandedGroups: L
|
|
77
72
|
}), {
|
|
78
73
|
getGroupItems: z,
|
|
79
74
|
isItemSelected: H,
|
|
80
|
-
isGroupFullySelected:
|
|
81
|
-
isGroupPartiallySelected:
|
|
75
|
+
isGroupFullySelected: R,
|
|
76
|
+
isGroupPartiallySelected: le,
|
|
82
77
|
areAllItemsSelected: p,
|
|
83
|
-
areSomeItemsSelected:
|
|
84
|
-
} =
|
|
85
|
-
value:
|
|
78
|
+
areSomeItemsSelected: ae
|
|
79
|
+
} = Ie({
|
|
80
|
+
value: l,
|
|
86
81
|
normalizedItems: k,
|
|
87
|
-
groups:
|
|
82
|
+
groups: m,
|
|
88
83
|
isGrouped: h
|
|
89
|
-
}), { handleItemToggle:
|
|
90
|
-
value:
|
|
84
|
+
}), { handleItemToggle: ie, handleGroupToggle: oe, handleSelectAllToggle: ne } = xe({
|
|
85
|
+
value: l,
|
|
91
86
|
onChange: N,
|
|
92
|
-
multiple:
|
|
93
|
-
disabled:
|
|
87
|
+
multiple: u,
|
|
88
|
+
disabled: i,
|
|
94
89
|
normalizedItems: k,
|
|
95
90
|
getGroupItems: z,
|
|
96
|
-
isGroupFullySelected:
|
|
91
|
+
isGroupFullySelected: R,
|
|
97
92
|
isItemSelected: H,
|
|
98
93
|
areAllItemsSelected: p
|
|
99
|
-
}), { getItemSize:
|
|
94
|
+
}), { getItemSize: se, virtualizer: de, virtualItems: ce, totalSize: me } = Le({
|
|
100
95
|
virtualizedItems: w,
|
|
101
|
-
itemHeights:
|
|
102
|
-
defaultItemRowHeight:
|
|
103
|
-
defaultGroupRowHeight:
|
|
96
|
+
itemHeights: $,
|
|
97
|
+
defaultItemRowHeight: Y,
|
|
98
|
+
defaultGroupRowHeight: q,
|
|
104
99
|
scrollElementRef: I
|
|
105
|
-
}), { renderVirtualizedItem:
|
|
100
|
+
}), { renderVirtualizedItem: ue, urlIconSearch: he, urlIconNoResults: pe } = ke({
|
|
106
101
|
isItemSelected: H,
|
|
107
|
-
disabled:
|
|
108
|
-
size:
|
|
102
|
+
disabled: i,
|
|
103
|
+
size: a,
|
|
109
104
|
variant: g,
|
|
110
105
|
checkboxSize: S,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
renderItem: Y,
|
|
106
|
+
handleItemToggle: ie,
|
|
107
|
+
renderItem: W,
|
|
114
108
|
expandedGroups: L,
|
|
115
|
-
isGroupFullySelected:
|
|
116
|
-
isGroupPartiallySelected:
|
|
109
|
+
isGroupFullySelected: R,
|
|
110
|
+
isGroupPartiallySelected: le,
|
|
117
111
|
getGroupItems: z,
|
|
118
|
-
indeterminateBehavior:
|
|
119
|
-
renderGroup:
|
|
120
|
-
groupable:
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
showCheckboxOnGroup: r && K,
|
|
125
|
-
handleGroupExpandToggle: ae,
|
|
126
|
-
handleGroupToggle: de
|
|
112
|
+
indeterminateBehavior: Q,
|
|
113
|
+
renderGroup: K,
|
|
114
|
+
groupable: j,
|
|
115
|
+
showCheckboxOnGroup: P,
|
|
116
|
+
handleGroupExpandToggle: ee,
|
|
117
|
+
handleGroupToggle: oe
|
|
127
118
|
}), t = {
|
|
128
|
-
size:
|
|
119
|
+
size: a,
|
|
129
120
|
variant: g,
|
|
130
|
-
disabled:
|
|
121
|
+
disabled: i,
|
|
131
122
|
grouped: h,
|
|
132
|
-
hasSelected:
|
|
123
|
+
hasSelected: l.length > 0
|
|
133
124
|
};
|
|
134
|
-
if (
|
|
125
|
+
if (U)
|
|
135
126
|
return /* @__PURE__ */ e(
|
|
136
|
-
|
|
127
|
+
A,
|
|
137
128
|
{
|
|
138
129
|
ownerState: t,
|
|
139
|
-
className:
|
|
130
|
+
className: v(f, d.root),
|
|
140
131
|
"data-testid": b,
|
|
141
132
|
"aria-label": C || "checkable list",
|
|
142
133
|
"aria-labelledby": y,
|
|
143
|
-
children: /* @__PURE__ */ e(
|
|
144
|
-
|
|
134
|
+
children: /* @__PURE__ */ e(we, { ownerState: t, children: /* @__PURE__ */ e(
|
|
135
|
+
Ve,
|
|
145
136
|
{
|
|
146
137
|
variant: "rectangular",
|
|
147
138
|
width: "100%",
|
|
@@ -153,108 +144,97 @@ const ot = (E) => {
|
|
|
153
144
|
) })
|
|
154
145
|
}
|
|
155
146
|
);
|
|
156
|
-
const G = h ?
|
|
157
|
-
return /* @__PURE__ */
|
|
158
|
-
|
|
147
|
+
const G = h ? re.length > 0 : te.length > 0;
|
|
148
|
+
return /* @__PURE__ */ T(
|
|
149
|
+
A,
|
|
159
150
|
{
|
|
160
151
|
ownerState: t,
|
|
161
|
-
className:
|
|
152
|
+
className: v(f, d.root),
|
|
162
153
|
"data-testid": b,
|
|
163
154
|
role: "group",
|
|
164
155
|
"aria-label": C || "checkable list",
|
|
165
156
|
"aria-labelledby": y,
|
|
166
157
|
children: [
|
|
167
|
-
|
|
168
|
-
|
|
158
|
+
F && /* @__PURE__ */ e(ze, { ownerState: t, role: "search", children: /* @__PURE__ */ e(
|
|
159
|
+
He,
|
|
169
160
|
{
|
|
170
161
|
role: "searchbox",
|
|
171
162
|
"aria-label": "search",
|
|
172
163
|
ownerState: t,
|
|
173
164
|
value: x,
|
|
174
|
-
onChange: (
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
size: o,
|
|
179
|
-
className: a.searchInput,
|
|
165
|
+
onChange: (r) => Z(r.target.value),
|
|
166
|
+
placeholder: n(c.label_search_placeholder),
|
|
167
|
+
size: a,
|
|
168
|
+
className: d.searchInput,
|
|
180
169
|
variant: "contained",
|
|
181
170
|
InputProps: {
|
|
182
|
-
startAdornment: /* @__PURE__ */ e(
|
|
171
|
+
startAdornment: /* @__PURE__ */ e(be, { src: he })
|
|
183
172
|
}
|
|
184
173
|
}
|
|
185
174
|
) }),
|
|
186
|
-
B && G &&
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
variant: "bodyStandard",
|
|
210
|
-
size: o,
|
|
211
|
-
color: "text.disabled",
|
|
212
|
-
children: j ?? i.length
|
|
213
|
-
}
|
|
214
|
-
)
|
|
215
|
-
]
|
|
216
|
-
}
|
|
217
|
-
),
|
|
175
|
+
B && G && u && /* @__PURE__ */ T(Re, { ownerState: t, role: "group", "aria-label": "Seleccionar todo", children: [
|
|
176
|
+
/* @__PURE__ */ e(
|
|
177
|
+
Ge,
|
|
178
|
+
{
|
|
179
|
+
checked: p,
|
|
180
|
+
indeterminate: ae && !p,
|
|
181
|
+
disabled: i,
|
|
182
|
+
size: S,
|
|
183
|
+
onChange: ne,
|
|
184
|
+
inlineText: n(c.label_select_all)
|
|
185
|
+
}
|
|
186
|
+
),
|
|
187
|
+
/* @__PURE__ */ e(
|
|
188
|
+
Te,
|
|
189
|
+
{
|
|
190
|
+
ownerState: t,
|
|
191
|
+
variant: "bodyStandard",
|
|
192
|
+
size: a,
|
|
193
|
+
color: "text.disabled",
|
|
194
|
+
children: l.length
|
|
195
|
+
}
|
|
196
|
+
)
|
|
197
|
+
] }),
|
|
218
198
|
/* @__PURE__ */ e(
|
|
219
|
-
|
|
199
|
+
_e,
|
|
220
200
|
{
|
|
221
|
-
ref:
|
|
201
|
+
ref: X,
|
|
222
202
|
ownerState: { ...t },
|
|
223
|
-
"aria-multiselectable":
|
|
224
|
-
children: G ?
|
|
225
|
-
|
|
203
|
+
"aria-multiselectable": u ? "true" : "false",
|
|
204
|
+
children: G ? s.current > 0 ? /* @__PURE__ */ e(
|
|
205
|
+
ve,
|
|
226
206
|
{
|
|
227
207
|
ref: I,
|
|
228
208
|
ownerState: {
|
|
229
209
|
...t,
|
|
230
|
-
listHeight:
|
|
231
|
-
listWidth:
|
|
210
|
+
listHeight: s.current,
|
|
211
|
+
listWidth: O
|
|
232
212
|
},
|
|
233
|
-
className:
|
|
234
|
-
children: /* @__PURE__ */ e(
|
|
235
|
-
|
|
213
|
+
className: d.virtualizedList,
|
|
214
|
+
children: /* @__PURE__ */ e(Ae, { ownerState: { ...t, totalSize: me }, children: ce.map((r) => /* @__PURE__ */ e(
|
|
215
|
+
Ee,
|
|
236
216
|
{
|
|
237
|
-
ref:
|
|
238
|
-
"data-index":
|
|
217
|
+
ref: de.measureElement,
|
|
218
|
+
"data-index": r.index,
|
|
239
219
|
ownerState: {
|
|
240
220
|
...t,
|
|
241
|
-
offsetTop:
|
|
242
|
-
minRowHeight:
|
|
221
|
+
offsetTop: r.start,
|
|
222
|
+
minRowHeight: se(r.index)
|
|
243
223
|
},
|
|
244
|
-
children:
|
|
245
|
-
index:
|
|
224
|
+
children: ue({
|
|
225
|
+
index: r.index,
|
|
246
226
|
virtualizedItems: w
|
|
247
227
|
})
|
|
248
228
|
},
|
|
249
|
-
|
|
229
|
+
r.key
|
|
250
230
|
)) })
|
|
251
231
|
}
|
|
252
|
-
) : null : /* @__PURE__ */ e(
|
|
253
|
-
|
|
232
|
+
) : null : /* @__PURE__ */ e(Ne, { ownerState: t, role: "status", "aria-live": "polite", children: /* @__PURE__ */ e(
|
|
233
|
+
Be,
|
|
254
234
|
{
|
|
255
|
-
title: c
|
|
256
|
-
message: c
|
|
257
|
-
imageUrl:
|
|
235
|
+
title: n(c.label_no_results),
|
|
236
|
+
message: n(c.label_no_results_description),
|
|
237
|
+
imageUrl: pe
|
|
258
238
|
}
|
|
259
239
|
) })
|
|
260
240
|
}
|
|
@@ -264,5 +244,5 @@ const ot = (E) => {
|
|
|
264
244
|
);
|
|
265
245
|
};
|
|
266
246
|
export {
|
|
267
|
-
|
|
247
|
+
rt as CheckableList
|
|
268
248
|
};
|
|
@@ -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,mBA8RjC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getContrastTextColor as
|
|
2
|
-
import { getSizeStyles as
|
|
1
|
+
import { getContrastTextColor as t } from "@m4l/graphics";
|
|
2
|
+
import { getSizeStyles as s } 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
|
+
...s(e, i?.size || "medium", "container", (a) => ({
|
|
33
33
|
height: a,
|
|
34
34
|
minHeight: a
|
|
35
35
|
}))
|
|
@@ -125,19 +125,7 @@ const n = {
|
|
|
125
125
|
*/
|
|
126
126
|
itemCheckbox: ({ theme: e, ownerState: i }) => ({
|
|
127
127
|
flexShrink: 0,
|
|
128
|
-
...
|
|
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) => ({
|
|
128
|
+
...s(e, i?.size || "medium", "action", (a) => ({
|
|
141
129
|
width: a,
|
|
142
130
|
height: a
|
|
143
131
|
}))
|
|
@@ -167,7 +155,7 @@ const n = {
|
|
|
167
155
|
alignItems: "center",
|
|
168
156
|
justifyContent: "center",
|
|
169
157
|
flexShrink: 0,
|
|
170
|
-
...
|
|
158
|
+
...s(e, "medium", "action", (i) => ({
|
|
171
159
|
width: i,
|
|
172
160
|
height: i
|
|
173
161
|
}))
|
|
@@ -227,7 +215,7 @@ const n = {
|
|
|
227
215
|
paddingLeft: e.vars.size.baseSpacings.sp1,
|
|
228
216
|
paddingRight: e.vars.size.baseSpacings.sp1,
|
|
229
217
|
backgroundColor: i?.color ?? e.vars.palette.background.surface,
|
|
230
|
-
color: i?.color ?
|
|
218
|
+
color: i?.color ? t(i?.color) : e.vars.palette.text.secondary
|
|
231
219
|
}
|
|
232
220
|
}),
|
|
233
221
|
/**
|
|
@@ -238,7 +226,7 @@ const n = {
|
|
|
238
226
|
alignItems: "center",
|
|
239
227
|
justifyContent: "center",
|
|
240
228
|
flexShrink: 0,
|
|
241
|
-
...
|
|
229
|
+
...s(e, "medium", "action", (i) => ({
|
|
242
230
|
width: i,
|
|
243
231
|
height: i
|
|
244
232
|
}))
|
|
@@ -248,7 +236,7 @@ const n = {
|
|
|
248
236
|
*/
|
|
249
237
|
groupToggleButton: ({ theme: e, ownerState: i }) => ({
|
|
250
238
|
flexShrink: 0,
|
|
251
|
-
...
|
|
239
|
+
...s(e, i?.size || "medium", "action", (a) => ({
|
|
252
240
|
width: a,
|
|
253
241
|
height: a
|
|
254
242
|
}))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const CHECKABLE_LIST_KEY_COMPONENT = "M4LCheckableList";
|
|
2
|
-
export declare const CHECKABLE_LIST_CLASSES: Record<"root" | "
|
|
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" | "groupLabel" | "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,qeAGlC,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,11 +22,6 @@ 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;
|
|
30
25
|
handleItemToggle: (itemId: string | number) => void;
|
|
31
26
|
renderItem?: (params: CheckableListRenderItemParams) => React.ReactNode;
|
|
32
27
|
expandedGroups: Set<string | number>;
|
|
@@ -53,6 +48,6 @@ interface UseCheckableListRenderReturn {
|
|
|
53
48
|
/**
|
|
54
49
|
* Handle item and group rendering for CheckableList.
|
|
55
50
|
*/
|
|
56
|
-
export declare const useCheckableListRender: ({ isItemSelected, disabled, size, variant, checkboxSize,
|
|
51
|
+
export declare const useCheckableListRender: ({ isItemSelected, disabled, size, variant, checkboxSize, handleItemToggle, renderItem, expandedGroups, isGroupFullySelected, isGroupPartiallySelected, getGroupItems, indeterminateBehavior, renderGroup, groupable, showCheckboxOnGroup, handleGroupExpandToggle, handleGroupToggle, }: UseCheckableListRenderProps) => UseCheckableListRenderReturn;
|
|
57
52
|
export {};
|
|
58
53
|
//# 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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"}
|