@m4l/components 9.84.1 → 9.84.2-beta-pkg-812-ajustes-mf-58.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/components/CheckableList/CheckableList.d.ts.map +1 -1
- package/components/CheckableList/CheckableList.js +250 -219
- package/components/CheckableList/CheckableList.styles.d.ts.map +1 -1
- package/components/CheckableList/CheckableList.styles.js +12 -0
- package/components/CheckableList/constants.d.ts +1 -1
- package/components/CheckableList/constants.d.ts.map +1 -1
- package/components/CheckableList/dictionary.d.ts +4 -2
- package/components/CheckableList/dictionary.d.ts.map +1 -1
- package/components/CheckableList/dictionary.js +6 -1
- package/components/CheckableList/dictionaryDefaults.d.ts +26 -0
- package/components/CheckableList/dictionaryDefaults.d.ts.map +1 -0
- package/components/CheckableList/dictionaryDefaults.js +31 -0
- package/components/CheckableList/hooks/types.d.ts +9 -0
- package/components/CheckableList/hooks/types.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListHandlers.d.ts +2 -1
- package/components/CheckableList/hooks/useCheckableListHandlers.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListHandlers.js +54 -40
- package/components/CheckableList/hooks/useCheckableListValue.d.ts +4 -0
- package/components/CheckableList/hooks/useCheckableListValue.d.ts.map +1 -0
- package/components/CheckableList/hooks/useCheckableListValue.js +28 -0
- package/components/CheckableList/index.d.ts +2 -0
- package/components/CheckableList/index.d.ts.map +1 -1
- 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 +62 -58
- package/components/CheckableList/types.d.ts +4 -0
- package/components/CheckableList/types.d.ts.map +1 -1
- package/components/DragResizeWindowRND/DragResizeWindowRND.d.ts.map +1 -1
- package/components/DragResizeWindowRND/DragResizeWindowRND.js +132 -118
- package/components/DragResizeWindowRND/constants.d.ts +1 -0
- package/components/DragResizeWindowRND/constants.d.ts.map +1 -1
- package/components/DragResizeWindowRND/constants.js +3 -2
- package/components/DragResizeWindowRND/hooks/types.d.ts +15 -0
- package/components/DragResizeWindowRND/hooks/types.d.ts.map +1 -0
- package/components/DragResizeWindowRND/hooks/useRNDCollapse.d.ts +4 -0
- package/components/DragResizeWindowRND/hooks/useRNDCollapse.d.ts.map +1 -0
- package/components/DragResizeWindowRND/hooks/useRNDCollapse.js +41 -0
- package/components/DragResizeWindowRND/hooks/useRNDDimensionEffects.d.ts +1 -0
- package/components/DragResizeWindowRND/hooks/useRNDDimensionEffects.d.ts.map +1 -1
- package/components/DragResizeWindowRND/hooks/useRNDDimensionEffects.js +21 -19
- package/components/DragResizeWindowRND/hooks/useRNDDragOptions.d.ts +2 -0
- package/components/DragResizeWindowRND/hooks/useRNDDragOptions.d.ts.map +1 -1
- package/components/DragResizeWindowRND/hooks/useRNDDragOptions.js +55 -54
- package/components/DragResizeWindowRND/types.d.ts +4 -0
- package/components/DragResizeWindowRND/types.d.ts.map +1 -1
- package/components/Label/Label.d.ts +2 -5
- package/components/Label/Label.d.ts.map +1 -1
- package/components/Label/Label.js +34 -35
- package/components/SortableList/dictionaryDefaults.d.ts +7 -0
- package/components/SortableList/dictionaryDefaults.d.ts.map +1 -0
- package/components/SortableList/dictionaryDefaults.js +34 -0
- package/components/SortableList/index.d.ts +1 -0
- package/components/SortableList/index.d.ts.map +1 -1
- package/components/Stepper/helpers/focusFirstErrorField/index.d.ts +1 -1
- package/components/Stepper/helpers/focusFirstErrorField/index.d.ts.map +1 -1
- package/components/Stepper/helpers/focusFirstErrorField/index.js +29 -14
- package/components/Stepper/helpers/getStepFocusTargets/constants.d.ts +4 -0
- package/components/Stepper/helpers/getStepFocusTargets/constants.d.ts.map +1 -0
- package/components/Stepper/helpers/getStepFocusTargets/constants.js +32 -0
- package/components/Stepper/helpers/getStepFocusTargets/index.d.ts +10 -0
- package/components/Stepper/helpers/getStepFocusTargets/index.d.ts.map +1 -0
- package/components/Stepper/helpers/getStepFocusTargets/index.js +34 -0
- package/components/Stepper/helpers/getStepFocusTargets/types.d.ts +6 -0
- package/components/Stepper/helpers/getStepFocusTargets/types.d.ts.map +1 -0
- package/components/Stepper/hooks/useStepEntryFocus/index.d.ts +4 -0
- package/components/Stepper/hooks/useStepEntryFocus/index.d.ts.map +1 -0
- package/components/Stepper/hooks/useStepEntryFocus/index.js +59 -0
- package/components/Stepper/hooks/useStepEntryFocus/types.d.ts +9 -0
- package/components/Stepper/hooks/useStepEntryFocus/types.d.ts.map +1 -0
- package/components/Stepper/hooks/useStepperActions/index.d.ts.map +1 -1
- package/components/Stepper/hooks/useStepperActions/index.js +53 -43
- package/components/Stepper/index.d.ts +1 -0
- package/components/Stepper/index.d.ts.map +1 -1
- package/components/Stepper/store/StepperContext/index.d.ts.map +1 -1
- package/components/Stepper/store/StepperContext/index.js +37 -35
- package/components/Stepper/store/StepperFocusContext/index.d.ts +5 -0
- package/components/Stepper/store/StepperFocusContext/index.d.ts.map +1 -0
- package/components/Stepper/store/StepperFocusContext/index.js +9 -0
- package/components/Stepper/store/StepperFocusContext/types.d.ts +8 -0
- package/components/Stepper/store/StepperFocusContext/types.d.ts.map +1 -0
- package/components/Stepper/subcomponents/StepArea/hooks/useStepArea.d.ts.map +1 -1
- package/components/Stepper/subcomponents/StepArea/hooks/useStepArea.js +74 -57
- package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.d.ts.map +1 -1
- package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.js +21 -6
- package/components/Stepper/tests/focus/fixtures.d.ts +8 -0
- package/components/Stepper/tests/focus/fixtures.d.ts.map +1 -0
- package/components/Stepper/tests/focus/types.d.ts +63 -0
- package/components/Stepper/tests/focus/types.d.ts.map +1 -0
- package/components/Stepper/types.d.ts +8 -0
- package/components/Stepper/types.d.ts.map +1 -1
- package/components/WindowBase/WindowBase.d.ts.map +1 -1
- package/components/WindowBase/WindowBase.js +74 -64
- package/components/WindowBase/WindowBase.styles.d.ts.map +1 -1
- package/components/WindowBase/WindowBase.styles.js +16 -5
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.d.ts.map +1 -1
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +59 -58
- package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
- package/components/WindowBase/subcomponents/Header/types.d.ts.map +1 -1
- package/components/WindowBase/subcomponents/Header/useButtonActions.d.ts.map +1 -1
- package/components/WindowBase/subcomponents/Header/useButtonActions.js +13 -12
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts.map +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +5 -5
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +2 -0
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts.map +1 -1
- package/components/WindowBase/types.d.ts +7 -1
- package/components/WindowBase/types.d.ts.map +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/areas/types.d.ts.map +1 -1
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +2 -2
- package/components/extended/mui/Autocomplete/hooks/useAutocomplete/useAutocomplete.d.ts +1 -1
- package/components/extended/mui/Autocomplete/hooks/useEndAdornments.d.ts +2 -1
- package/components/extended/mui/Autocomplete/hooks/useEndAdornments.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/hooks/useEndAdornments.js +65 -58
- package/components/extended/mui/Autocomplete/hooks/useValuesAndHandlers.d.ts +1 -1
- package/components/extended/mui/Autocomplete/hooks/useValuesAndHandlers.d.ts.map +1 -1
- package/components/extended/mui/Autocomplete/hooks/useValuesAndHandlers.js +51 -51
- package/components/extended/mui/Autocomplete/tests/keyboard/AutocompleteKeyboardFixture.d.ts +5 -0
- package/components/extended/mui/Autocomplete/tests/keyboard/AutocompleteKeyboardFixture.d.ts.map +1 -0
- package/components/extended/mui/Autocomplete/tests/keyboard/constants.d.ts +3 -0
- package/components/extended/mui/Autocomplete/tests/keyboard/constants.d.ts.map +1 -0
- package/components/extended/mui/Autocomplete/tests/keyboard/types.d.ts +17 -0
- package/components/extended/mui/Autocomplete/tests/keyboard/types.d.ts.map +1 -0
- package/components/extended/mui/Select/Select.d.ts.map +1 -1
- package/components/extended/mui/Select/Select.js +99 -94
- package/components/extended/mui/Select/Select.styles.d.ts.map +1 -1
- package/components/extended/mui/Select/Select.styles.js +48 -39
- package/components/extended/mui/Select/tests/keyboard/SelectKeyboardFixture.d.ts +4 -0
- package/components/extended/mui/Select/tests/keyboard/SelectKeyboardFixture.d.ts.map +1 -0
- package/components/extended/mui/Select/tests/keyboard/types.d.ts +6 -0
- package/components/extended/mui/Select/tests/keyboard/types.d.ts.map +1 -0
- package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.d.ts +2 -6
- package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.d.ts.map +1 -1
- package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.js +18 -17
- package/components/formatters/DistanceToNowFormatter/dictionary.d.ts +18 -0
- package/components/formatters/DistanceToNowFormatter/dictionary.d.ts.map +1 -1
- package/components/formatters/DistanceToNowFormatter/dictionary.js +19 -1
- package/components/formatters/DistanceToNowFormatter/dictionaryDefaults.d.ts +96 -0
- package/components/formatters/DistanceToNowFormatter/dictionaryDefaults.d.ts.map +1 -0
- package/components/formatters/DistanceToNowFormatter/dictionaryDefaults.js +101 -0
- package/components/formatters/DistanceToNowFormatter/hooks/useDistanceToNowFormatter.d.ts +4 -9
- package/components/formatters/DistanceToNowFormatter/hooks/useDistanceToNowFormatter.d.ts.map +1 -1
- package/components/formatters/DistanceToNowFormatter/hooks/useDistanceToNowFormatter.js +41 -15
- package/components/formatters/DistanceToNowFormatter/index.d.ts +1 -0
- package/components/formatters/DistanceToNowFormatter/index.d.ts.map +1 -1
- package/components/formatters/DistanceToNowFormatter/types.d.ts +10 -3
- package/components/formatters/DistanceToNowFormatter/types.d.ts.map +1 -1
- package/components/hook-form/RHFActionsGroup/RHFActionsGroup.d.ts.map +1 -1
- package/components/hook-form/RHFActionsGroup/RHFActionsGroup.js +43 -40
- package/components/hook-form/RHFCheckableList/RHFCheckableList.d.ts.map +1 -1
- package/components/hook-form/RHFCheckableList/RHFCheckableList.js +82 -73
- package/components/hook-form/RHFCheckbox/RHFCheckbox.d.ts.map +1 -1
- package/components/hook-form/RHFCheckbox/RHFCheckbox.js +62 -53
- package/components/hook-form/RHFDatePicker/RHFDatePicker.d.ts.map +1 -1
- package/components/hook-form/RHFDatePicker/RHFDatePicker.js +35 -32
- package/components/hook-form/RHFDateTime/RHFDateTime.d.ts.map +1 -1
- package/components/hook-form/RHFDateTime/RHFDateTime.js +42 -39
- package/components/hook-form/RHFMultiCheckbox/index.d.ts.map +1 -1
- package/components/hook-form/RHFMultiCheckbox/index.js +20 -17
- package/components/hook-form/RHFNumberInput/RHFNumberInput.d.ts.map +1 -1
- package/components/hook-form/RHFNumberInput/RHFNumberInput.js +46 -43
- package/components/hook-form/RHFPeriod/RHFPeriod.d.ts.map +1 -1
- package/components/hook-form/RHFPeriod/RHFPeriod.js +41 -39
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.d.ts.map +1 -1
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.js +62 -59
- package/components/hook-form/RHFSelect/RHFSelect.d.ts.map +1 -1
- package/components/hook-form/RHFSelect/RHFSelect.js +89 -73
- package/components/hook-form/RHFSelect/test/focus/SelectFocusFixture.d.ts +4 -0
- package/components/hook-form/RHFSelect/test/focus/SelectFocusFixture.d.ts.map +1 -0
- package/components/hook-form/RHFSelect/test/focus/constants.d.ts +3 -0
- package/components/hook-form/RHFSelect/test/focus/constants.d.ts.map +1 -0
- package/components/hook-form/RHFSelect/test/focus/types.d.ts +13 -0
- package/components/hook-form/RHFSelect/test/focus/types.d.ts.map +1 -0
- package/components/hook-form/RHFSelect/types.d.ts +5 -0
- package/components/hook-form/RHFSelect/types.d.ts.map +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.d.ts.map +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.js +55 -52
- package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.d.ts.map +1 -1
- package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +93 -85
- package/components/hook-form/RHFUpload/RHFUploaMultipleFile/components/UploadMultiple/index.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploaMultipleFile/components/UploadMultiple/index.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploaMultipleFile/index.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploaMultipleFile/index.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploaMultipleFile/types.d.ts +2 -0
- package/components/hook-form/RHFUpload/RHFUploaMultipleFile/types.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +74 -66
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.js +52 -32
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +1 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/tests/focus/UploadImageFocusFixture.d.ts +4 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/tests/focus/UploadImageFocusFixture.d.ts.map +1 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/tests/focus/types.d.ts +13 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/tests/focus/types.d.ts.map +1 -0
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.js +34 -32
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/UploadSingleFile/index.js +13 -13
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.d.ts.map +1 -1
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.js +16 -16
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +4 -2
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts.map +1 -1
- package/components/popups/components/PopupsProvider/hooks/types.d.ts +5 -0
- package/components/popups/components/PopupsProvider/hooks/types.d.ts.map +1 -0
- package/components/popups/components/PopupsProvider/hooks/useHeaderActionsPopups.d.ts +3 -14
- package/components/popups/components/PopupsProvider/hooks/useHeaderActionsPopups.d.ts.map +1 -1
- package/components/popups/components/PopupsProvider/hooks/useHeaderActionsPopups.js +34 -33
- package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.d.ts.map +1 -1
- package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +125 -118
- package/components/popups/components/PopupsViewer/subcomponents/Popup/usePopupHeaderHeight.d.ts +3 -0
- package/components/popups/components/PopupsViewer/subcomponents/Popup/usePopupHeaderHeight.d.ts.map +1 -0
- package/components/popups/components/PopupsViewer/subcomponents/Popup/usePopupHeaderHeight.js +21 -0
- package/components/popups/dictionaryDefaults.d.ts +4 -0
- package/components/popups/dictionaryDefaults.d.ts.map +1 -0
- package/components/popups/dictionaryDefaults.js +16 -0
- package/components/popups/index.d.ts +1 -0
- package/components/popups/index.d.ts.map +1 -1
- package/hocs/withRHFController/index.d.ts.map +1 -1
- package/hocs/withRHFController/index.js +71 -61
- package/index.js +823 -813
- package/package.json +13 -13
- package/test/mocks/dictionary-mock.d.ts +71 -23
- package/test/mocks/dictionary-mock.d.ts.map +1 -1
- package/utils/formatDistanceToNow/formatDistanteToNow.d.ts +2 -2
- package/utils/formatDistanceToNow/formatDistanteToNow.d.ts.map +1 -1
- package/utils/formatDistanceToNow/formatDistanteToNow.js +40 -23
- package/utils/formatDistanceToNow/index.d.ts +1 -1
- package/utils/formatDistanceToNow/index.d.ts.map +1 -1
- package/utils/formatDistanceToNow/types.d.ts +12 -6
- package/utils/formatDistanceToNow/types.d.ts.map +1 -1
|
@@ -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;
|
|
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;AAwCjB;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,qDAsXtD,CAAC"}
|
|
@@ -1,291 +1,322 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import
|
|
4
|
-
import { CHECKABLE_LIST_EMPTY_VALUES as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
|
|
1
|
+
import { jsx as t, jsxs as m, Fragment as Oe } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as Fe, useRef as Q } from "react";
|
|
3
|
+
import P from "clsx";
|
|
4
|
+
import { CHECKABLE_LIST_EMPTY_VALUES as Ke, CHECKABLE_LIST_EMPTY_ITEMS as Qe, CHECKABLE_LIST_CLASSES as c, CHECKABLE_LIST_DEFAULT_ITEM_ROW_HEIGHT as Pe } from "./constants.js";
|
|
5
|
+
import { useCheckableListValue as Ue } from "./hooks/useCheckableListValue.js";
|
|
6
|
+
import { useModuleDictionary as We } from "@m4l/core";
|
|
7
|
+
import { DICCTIONARY as o } from "./dictionary.js";
|
|
8
|
+
import { useSizeContainer as Ye } from "../../hooks/useSizeContainer/index.js";
|
|
9
|
+
import { useStateRef as je } from "../../hooks/useStateRef/index.js";
|
|
10
|
+
import { Icon as $e, Typography as qe } from "@m4l/base";
|
|
11
|
+
import { useCheckableListState as Je } from "./hooks/useCheckableListState.js";
|
|
12
|
+
import { useCheckableListItems as Xe } from "./hooks/useCheckableListItems.js";
|
|
13
|
+
import { useCheckableListSelection as Ze } from "./hooks/useCheckableListSelection.js";
|
|
14
|
+
import { useCheckableListHandlers as et } from "./hooks/useCheckableListHandlers.js";
|
|
15
|
+
import { useCheckableListVirtualization as tt } from "./hooks/useCheckableListVirtualization.js";
|
|
16
|
+
import { useCheckableListRender as lt } from "./hooks/useCheckableListRender.js";
|
|
17
|
+
import { SelectionCountStyled as at, RootStyled as U, LoadingContainerStyled as rt, SearchContainerStyled as ot, SearchInputStyled as it, SelectAllContainerStyled as nt, SelectAllCheckboxStyled as st, ChipCountTypografyStyled as ct, ListContainerStyled as dt, VirtualizedListStyled as ut, VirtualContainerStyled as mt, VirtualRowStyled as ht, EmptyMessageWrapperStyled as pt } from "./slots/styled.js";
|
|
18
|
+
import { Alert as St } from "../Alert/Alert.js";
|
|
19
|
+
import { Skeleton as gt } from "../extended/mui/Skeleton/Skeleton.js";
|
|
20
|
+
import { ImageText as bt } from "../ImageText/ImageText.js";
|
|
21
|
+
const Bt = (W) => {
|
|
20
22
|
const {
|
|
21
|
-
value:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
23
|
+
value: Y = Ke,
|
|
24
|
+
maxSelection: j,
|
|
25
|
+
showSelectionCount: $ = !1,
|
|
26
|
+
onChange: x,
|
|
27
|
+
items: q = Qe,
|
|
28
|
+
groups: f,
|
|
29
|
+
multiple: s = !0,
|
|
30
|
+
selectAll: J = !1,
|
|
31
|
+
selectAllLabel: E,
|
|
32
|
+
selectAllCount: X,
|
|
33
|
+
groupable: Z = !0,
|
|
34
|
+
expandAllGroups: ee = !0,
|
|
35
|
+
searchable: te = !1,
|
|
36
|
+
searchEndAdornment: A,
|
|
37
|
+
searchHelperText: le,
|
|
38
|
+
filterFn: ae,
|
|
39
|
+
onSearchChange: re,
|
|
40
|
+
size: d = "medium",
|
|
41
|
+
variant: T = "standard",
|
|
42
|
+
width: oe = "100%",
|
|
43
|
+
checkboxSize: w = "medium",
|
|
44
|
+
showCheckboxOnGroup: ie = !0,
|
|
45
|
+
indeterminateBehavior: ne = "indicate-some",
|
|
46
|
+
className: k,
|
|
47
|
+
"data-testid": H,
|
|
48
|
+
ariaLabel: z,
|
|
49
|
+
ariaLabelledBy: G,
|
|
50
|
+
renderItem: se,
|
|
51
|
+
renderGroup: ce,
|
|
52
|
+
loading: C = !1,
|
|
53
|
+
disabled: h = !1,
|
|
50
54
|
readOnly: e = !1,
|
|
51
|
-
measureImmediately:
|
|
52
|
-
itemRowHeight:
|
|
53
|
-
groupRowHeight:
|
|
54
|
-
uppercaseGroupLabels:
|
|
55
|
-
groupCountVariant:
|
|
56
|
-
} =
|
|
55
|
+
measureImmediately: de = !1,
|
|
56
|
+
itemRowHeight: ue,
|
|
57
|
+
groupRowHeight: me,
|
|
58
|
+
uppercaseGroupLabels: he = !1,
|
|
59
|
+
groupCountVariant: pe = "neutral"
|
|
60
|
+
} = W, { selectedIds: i, selectionLimit: n } = Ue({
|
|
61
|
+
value: Y,
|
|
62
|
+
multiple: s,
|
|
63
|
+
maxSelection: j,
|
|
64
|
+
onChange: x
|
|
65
|
+
}), p = Fe(() => new Set(i).size, [i]), R = h || e, y = te && !e, N = Q(null), [Se, ge] = je(null), S = Ye(Se, {
|
|
57
66
|
// excludePadding: true,
|
|
58
|
-
leading:
|
|
59
|
-
}), { getLabel:
|
|
60
|
-
|
|
67
|
+
leading: de
|
|
68
|
+
}), { getLabel: r } = We(), u = Q(S?.containerHeight ?? 0);
|
|
69
|
+
u.current !== S?.containerHeight && S?.containerHeight !== 0 && (u.current = S?.containerHeight ?? 0);
|
|
61
70
|
const {
|
|
62
|
-
searchQuery:
|
|
63
|
-
setSearchQuery:
|
|
64
|
-
expandedGroups:
|
|
65
|
-
handleGroupExpandToggle:
|
|
66
|
-
} =
|
|
67
|
-
groups:
|
|
68
|
-
expandAllGroups:
|
|
69
|
-
}),
|
|
70
|
-
isGrouped:
|
|
71
|
-
normalizedItems:
|
|
72
|
-
filteredItems:
|
|
73
|
-
filteredGroups:
|
|
74
|
-
virtualizedItems:
|
|
75
|
-
groupHeaderIndexes:
|
|
76
|
-
} =
|
|
77
|
-
items:
|
|
78
|
-
groups:
|
|
79
|
-
selectedValues:
|
|
71
|
+
searchQuery: V,
|
|
72
|
+
setSearchQuery: be,
|
|
73
|
+
expandedGroups: M,
|
|
74
|
+
handleGroupExpandToggle: fe
|
|
75
|
+
} = Je({
|
|
76
|
+
groups: f,
|
|
77
|
+
expandAllGroups: ee
|
|
78
|
+
}), Ce = e ? "" : V, {
|
|
79
|
+
isGrouped: g,
|
|
80
|
+
normalizedItems: I,
|
|
81
|
+
filteredItems: ye,
|
|
82
|
+
filteredGroups: L,
|
|
83
|
+
virtualizedItems: B,
|
|
84
|
+
groupHeaderIndexes: Ie
|
|
85
|
+
} = Xe({
|
|
86
|
+
items: q,
|
|
87
|
+
groups: f,
|
|
88
|
+
selectedValues: i,
|
|
80
89
|
readOnly: e,
|
|
81
|
-
searchQuery:
|
|
82
|
-
filterFn:
|
|
83
|
-
expandedGroups:
|
|
84
|
-
}),
|
|
85
|
-
getGroupItems:
|
|
86
|
-
isItemSelected:
|
|
87
|
-
isGroupFullySelected:
|
|
88
|
-
getGroupSelectionState:
|
|
89
|
-
areAllItemsSelected:
|
|
90
|
-
areSomeItemsSelected:
|
|
91
|
-
} =
|
|
92
|
-
value:
|
|
93
|
-
normalizedItems:
|
|
94
|
-
groups:
|
|
95
|
-
isGrouped:
|
|
96
|
-
}), { handleItemToggle:
|
|
97
|
-
value:
|
|
98
|
-
onChange:
|
|
99
|
-
multiple:
|
|
100
|
-
disabled:
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
90
|
+
searchQuery: Ce,
|
|
91
|
+
filterFn: ae,
|
|
92
|
+
expandedGroups: M
|
|
93
|
+
}), Le = e ? L : f, {
|
|
94
|
+
getGroupItems: D,
|
|
95
|
+
isItemSelected: O,
|
|
96
|
+
isGroupFullySelected: _e,
|
|
97
|
+
getGroupSelectionState: ve,
|
|
98
|
+
areAllItemsSelected: _,
|
|
99
|
+
areSomeItemsSelected: xe
|
|
100
|
+
} = Ze({
|
|
101
|
+
value: i,
|
|
102
|
+
normalizedItems: I,
|
|
103
|
+
groups: Le,
|
|
104
|
+
isGrouped: g
|
|
105
|
+
}), { handleItemToggle: Ee, handleGroupToggle: Ae, handleSelectAllToggle: Te, selectionLimitExceeded: we } = et({
|
|
106
|
+
value: i,
|
|
107
|
+
onChange: x,
|
|
108
|
+
multiple: s,
|
|
109
|
+
disabled: R || C,
|
|
110
|
+
selectionLimit: n,
|
|
111
|
+
normalizedItems: I,
|
|
112
|
+
getGroupItems: D,
|
|
113
|
+
isGroupFullySelected: _e,
|
|
114
|
+
isItemSelected: O,
|
|
115
|
+
areAllItemsSelected: _
|
|
116
|
+
}), { virtualizer: ke, virtualItems: He, totalSize: ze, activeStickyIndex: Ge } = tt({
|
|
117
|
+
virtualizedItems: B,
|
|
118
|
+
groupHeaderIndexes: Ie,
|
|
119
|
+
defaultItemRowHeight: ue ?? (e ? Pe : void 0),
|
|
120
|
+
defaultGroupRowHeight: me,
|
|
121
|
+
scrollElementRef: N
|
|
122
|
+
}), { renderVirtualizedItem: Re, urlIconSearch: Ne, urlIconNoResults: Ve } = lt({
|
|
123
|
+
isItemSelected: O,
|
|
124
|
+
disabled: h,
|
|
115
125
|
readOnly: e,
|
|
116
|
-
size:
|
|
117
|
-
variant:
|
|
118
|
-
checkboxSize:
|
|
119
|
-
multiple:
|
|
120
|
-
handleItemToggle:
|
|
121
|
-
renderItem:
|
|
122
|
-
expandedGroups:
|
|
123
|
-
grouped:
|
|
124
|
-
groups:
|
|
125
|
-
uppercaseGroupLabels:
|
|
126
|
-
groupCountVariant:
|
|
127
|
-
getGroupSelectionState:
|
|
128
|
-
getGroupItems:
|
|
129
|
-
indeterminateBehavior:
|
|
130
|
-
renderGroup:
|
|
131
|
-
groupable:
|
|
126
|
+
size: d,
|
|
127
|
+
variant: T,
|
|
128
|
+
checkboxSize: w,
|
|
129
|
+
multiple: s,
|
|
130
|
+
handleItemToggle: Ee,
|
|
131
|
+
renderItem: se,
|
|
132
|
+
expandedGroups: M,
|
|
133
|
+
grouped: g,
|
|
134
|
+
groups: L,
|
|
135
|
+
uppercaseGroupLabels: he,
|
|
136
|
+
groupCountVariant: pe,
|
|
137
|
+
getGroupSelectionState: ve,
|
|
138
|
+
getGroupItems: D,
|
|
139
|
+
indeterminateBehavior: ne,
|
|
140
|
+
renderGroup: ce,
|
|
141
|
+
groupable: Z,
|
|
132
142
|
// Single selection cannot select an entire group: its batch checkbox
|
|
133
143
|
// would select multiple items simultaneously, which
|
|
134
144
|
// multiple={false} forbids.
|
|
135
|
-
showCheckboxOnGroup:
|
|
136
|
-
handleGroupExpandToggle:
|
|
137
|
-
handleGroupToggle:
|
|
138
|
-
}),
|
|
139
|
-
size:
|
|
140
|
-
variant:
|
|
141
|
-
disabled:
|
|
145
|
+
showCheckboxOnGroup: s && ie,
|
|
146
|
+
handleGroupExpandToggle: fe,
|
|
147
|
+
handleGroupToggle: Ae
|
|
148
|
+
}), l = {
|
|
149
|
+
size: d,
|
|
150
|
+
variant: T,
|
|
151
|
+
disabled: h,
|
|
142
152
|
readOnly: e,
|
|
143
|
-
grouped:
|
|
144
|
-
hasSelected:
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
153
|
+
grouped: g,
|
|
154
|
+
hasSelected: i.length > 0
|
|
155
|
+
}, b = $ || n !== void 0 ? /* @__PURE__ */ t(
|
|
156
|
+
at,
|
|
157
|
+
{
|
|
158
|
+
component: "span",
|
|
159
|
+
ownerState: l,
|
|
160
|
+
className: c.selectionCount,
|
|
161
|
+
variant: "bodyDens",
|
|
162
|
+
role: "status",
|
|
163
|
+
"aria-live": "polite",
|
|
164
|
+
"aria-label": n === void 0 ? r(o.label_selection_count, p) : r(o.label_selection_capacity, p, n),
|
|
165
|
+
children: n === void 0 ? p : `${p}/${n}`
|
|
166
|
+
}
|
|
167
|
+
) : void 0, F = n !== void 0 && we && !R && !C ? /* @__PURE__ */ t(St, { severity: "warning", size: "small", label: r(o.label_selection_limit) }) : void 0;
|
|
168
|
+
if (C)
|
|
169
|
+
return /* @__PURE__ */ m(
|
|
170
|
+
U,
|
|
149
171
|
{
|
|
150
|
-
ownerState:
|
|
151
|
-
className:
|
|
152
|
-
"data-testid":
|
|
153
|
-
"aria-label":
|
|
154
|
-
"aria-labelledby":
|
|
155
|
-
children:
|
|
156
|
-
|
|
157
|
-
{
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
172
|
+
ownerState: l,
|
|
173
|
+
className: P(k, c.root),
|
|
174
|
+
"data-testid": H,
|
|
175
|
+
"aria-label": z || "checkable list",
|
|
176
|
+
"aria-labelledby": G,
|
|
177
|
+
children: [
|
|
178
|
+
b,
|
|
179
|
+
/* @__PURE__ */ t(rt, { ownerState: l, children: /* @__PURE__ */ t(
|
|
180
|
+
gt,
|
|
181
|
+
{
|
|
182
|
+
variant: "rectangular",
|
|
183
|
+
width: "100%",
|
|
184
|
+
height: 200,
|
|
185
|
+
role: "status",
|
|
186
|
+
"aria-label": "Cargando lista de elementos",
|
|
187
|
+
"aria-live": "polite"
|
|
188
|
+
}
|
|
189
|
+
) })
|
|
190
|
+
]
|
|
166
191
|
}
|
|
167
192
|
);
|
|
168
|
-
const
|
|
169
|
-
return /* @__PURE__ */
|
|
170
|
-
|
|
193
|
+
const v = g ? L.length > 0 : ye.length > 0, Me = e ? I.length : i.length, Be = J && s && (v || e), De = !e && !v;
|
|
194
|
+
return /* @__PURE__ */ m(
|
|
195
|
+
U,
|
|
171
196
|
{
|
|
172
|
-
ownerState:
|
|
173
|
-
className:
|
|
174
|
-
"data-testid":
|
|
197
|
+
ownerState: l,
|
|
198
|
+
className: P(k, c.root),
|
|
199
|
+
"data-testid": H,
|
|
175
200
|
"data-readonly": e ? "true" : void 0,
|
|
176
201
|
role: "group",
|
|
177
|
-
"aria-label":
|
|
178
|
-
"aria-labelledby":
|
|
202
|
+
"aria-label": z || "checkable list",
|
|
203
|
+
"aria-labelledby": G,
|
|
179
204
|
children: [
|
|
180
|
-
|
|
205
|
+
!y && b,
|
|
206
|
+
!y && F,
|
|
207
|
+
y && /* @__PURE__ */ m(ot, { ownerState: l, role: "search", children: [
|
|
181
208
|
/* @__PURE__ */ t(
|
|
182
|
-
|
|
209
|
+
it,
|
|
183
210
|
{
|
|
184
211
|
role: "searchbox",
|
|
185
212
|
"aria-label": "search",
|
|
186
|
-
ownerState:
|
|
187
|
-
value:
|
|
188
|
-
onChange: (
|
|
189
|
-
|
|
213
|
+
ownerState: l,
|
|
214
|
+
value: V,
|
|
215
|
+
onChange: (a) => {
|
|
216
|
+
be(a.target.value), re?.(a.target.value);
|
|
190
217
|
},
|
|
191
|
-
placeholder:
|
|
192
|
-
size:
|
|
218
|
+
placeholder: r(o.label_search_placeholder),
|
|
219
|
+
size: d,
|
|
193
220
|
className: c.searchInput,
|
|
194
221
|
variant: "contained",
|
|
195
222
|
InputProps: {
|
|
196
|
-
startAdornment: /* @__PURE__ */ t(
|
|
197
|
-
endAdornment:
|
|
223
|
+
startAdornment: /* @__PURE__ */ t($e, { src: Ne }),
|
|
224
|
+
endAdornment: b ? /* @__PURE__ */ m(Oe, { children: [
|
|
225
|
+
A,
|
|
226
|
+
b
|
|
227
|
+
] }) : A
|
|
198
228
|
}
|
|
199
229
|
}
|
|
200
230
|
),
|
|
201
|
-
|
|
231
|
+
le,
|
|
232
|
+
F
|
|
202
233
|
] }),
|
|
203
|
-
|
|
204
|
-
|
|
234
|
+
Be && /* @__PURE__ */ m(
|
|
235
|
+
nt,
|
|
205
236
|
{
|
|
206
|
-
ownerState:
|
|
237
|
+
ownerState: l,
|
|
207
238
|
className: c.selectAllContainer,
|
|
208
239
|
role: "group",
|
|
209
240
|
"aria-label": e ? "Todos" : "Seleccionar todo",
|
|
210
241
|
children: [
|
|
211
242
|
e ? /* @__PURE__ */ t(
|
|
212
|
-
|
|
243
|
+
qe,
|
|
213
244
|
{
|
|
214
245
|
color: "text.secondary",
|
|
215
246
|
component: "span",
|
|
216
|
-
size:
|
|
247
|
+
size: d,
|
|
217
248
|
variant: "bodyStandard",
|
|
218
|
-
children:
|
|
249
|
+
children: E ?? r(o.label_select_all)
|
|
219
250
|
}
|
|
220
251
|
) : /* @__PURE__ */ t(
|
|
221
|
-
|
|
252
|
+
st,
|
|
222
253
|
{
|
|
223
|
-
checked:
|
|
224
|
-
indeterminate:
|
|
225
|
-
disabled:
|
|
226
|
-
size:
|
|
227
|
-
onChange:
|
|
228
|
-
inlineText:
|
|
254
|
+
checked: _,
|
|
255
|
+
indeterminate: xe && !_,
|
|
256
|
+
disabled: h,
|
|
257
|
+
size: w,
|
|
258
|
+
onChange: Te,
|
|
259
|
+
inlineText: E ?? r(o.label_select_all)
|
|
229
260
|
}
|
|
230
261
|
),
|
|
231
262
|
/* @__PURE__ */ t(
|
|
232
|
-
|
|
263
|
+
ct,
|
|
233
264
|
{
|
|
234
|
-
ownerState:
|
|
265
|
+
ownerState: l,
|
|
235
266
|
variant: "bodyStandard",
|
|
236
|
-
size:
|
|
267
|
+
size: d,
|
|
237
268
|
color: "text.disabled",
|
|
238
|
-
children:
|
|
269
|
+
children: X ?? Me
|
|
239
270
|
}
|
|
240
271
|
)
|
|
241
272
|
]
|
|
242
273
|
}
|
|
243
274
|
),
|
|
244
275
|
/* @__PURE__ */ t(
|
|
245
|
-
|
|
276
|
+
dt,
|
|
246
277
|
{
|
|
247
|
-
ref:
|
|
248
|
-
ownerState: { ...
|
|
278
|
+
ref: ge,
|
|
279
|
+
ownerState: { ...l },
|
|
249
280
|
"data-readonly": e ? "true" : void 0,
|
|
250
|
-
"aria-multiselectable":
|
|
251
|
-
children:
|
|
252
|
-
|
|
281
|
+
"aria-multiselectable": s ? "true" : "false",
|
|
282
|
+
children: v ? u.current > 0 ? /* @__PURE__ */ t(
|
|
283
|
+
ut,
|
|
253
284
|
{
|
|
254
|
-
ref:
|
|
285
|
+
ref: N,
|
|
255
286
|
ownerState: {
|
|
256
|
-
...
|
|
257
|
-
listHeight:
|
|
258
|
-
listWidth:
|
|
287
|
+
...l,
|
|
288
|
+
listHeight: u.current,
|
|
289
|
+
listWidth: oe
|
|
259
290
|
},
|
|
260
291
|
className: c.virtualizedList,
|
|
261
|
-
children: /* @__PURE__ */ t(
|
|
262
|
-
const
|
|
292
|
+
children: /* @__PURE__ */ t(mt, { ownerState: { ...l, totalSize: ze }, children: He.map((a) => {
|
|
293
|
+
const K = a.index === Ge && a.size < u.current;
|
|
263
294
|
return /* @__PURE__ */ t(
|
|
264
|
-
|
|
295
|
+
ht,
|
|
265
296
|
{
|
|
266
|
-
ref:
|
|
267
|
-
"data-index":
|
|
297
|
+
ref: ke.measureElement,
|
|
298
|
+
"data-index": a.index,
|
|
268
299
|
ownerState: {
|
|
269
|
-
...
|
|
270
|
-
offsetTop:
|
|
271
|
-
isActiveSticky:
|
|
300
|
+
...l,
|
|
301
|
+
offsetTop: a.start,
|
|
302
|
+
isActiveSticky: K
|
|
272
303
|
},
|
|
273
|
-
children:
|
|
274
|
-
index:
|
|
275
|
-
virtualizedItems:
|
|
276
|
-
isActiveSticky:
|
|
304
|
+
children: Re({
|
|
305
|
+
index: a.index,
|
|
306
|
+
virtualizedItems: B,
|
|
307
|
+
isActiveSticky: K
|
|
277
308
|
})
|
|
278
309
|
},
|
|
279
|
-
|
|
310
|
+
a.key
|
|
280
311
|
);
|
|
281
312
|
}) })
|
|
282
313
|
}
|
|
283
|
-
) : null :
|
|
284
|
-
|
|
314
|
+
) : null : De ? /* @__PURE__ */ t(pt, { ownerState: l, role: "status", "aria-live": "polite", children: /* @__PURE__ */ t(
|
|
315
|
+
bt,
|
|
285
316
|
{
|
|
286
|
-
title:
|
|
287
|
-
message:
|
|
288
|
-
imageUrl:
|
|
317
|
+
title: r(o.label_no_results),
|
|
318
|
+
message: r(o.label_no_results_description),
|
|
319
|
+
imageUrl: Ve
|
|
289
320
|
}
|
|
290
321
|
) }) : null
|
|
291
322
|
}
|
|
@@ -295,5 +326,5 @@ const xt = (M) => {
|
|
|
295
326
|
);
|
|
296
327
|
};
|
|
297
328
|
export {
|
|
298
|
-
|
|
329
|
+
Bt as CheckableList
|
|
299
330
|
};
|
|
@@ -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;AAO9C,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;AAO9C,eAAO,MAAM,mBAAmB,EAAE,mBA0WjC,CAAC"}
|
|
@@ -4,6 +4,18 @@ import { TYPOGRAPHY_LETTER_SPACING as n, BASE_WEIGHT as t } from "@m4l/styles";
|
|
|
4
4
|
import { resolveGroupEdgeColors as r } from "./helpers/resolveGroupEdgeColors.js";
|
|
5
5
|
import { getSizeStyles as e } from "../../utils/getSizeStyles/getSizeStyles.js";
|
|
6
6
|
const b = {
|
|
7
|
+
/** Neutral selected-count badge, independent of the department color treatment. */
|
|
8
|
+
selectionCount: ({ theme: i }) => ({
|
|
9
|
+
flexShrink: 0,
|
|
10
|
+
width: "fit-content",
|
|
11
|
+
marginRight: i.vars.size.baseSpacings.sp1,
|
|
12
|
+
padding: `0 ${i.vars.size.baseSpacings.sp1}`,
|
|
13
|
+
borderRadius: i.vars.size.borderRadius.r3,
|
|
14
|
+
"&&": {
|
|
15
|
+
backgroundColor: i.vars.palette.action.hover,
|
|
16
|
+
color: i.vars.palette.text.secondary
|
|
17
|
+
}
|
|
18
|
+
}),
|
|
7
19
|
/**
|
|
8
20
|
* Root slot for the main component container.
|
|
9
21
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CheckableListGroup, CheckableListItem, VirtualizedItem } from './types';
|
|
2
2
|
import { CheckableListGroupSelection } from './hooks/types';
|
|
3
3
|
export declare const CHECKABLE_LIST_KEY_COMPONENT = "M4LCheckableList";
|
|
4
|
-
export declare const CHECKABLE_LIST_CLASSES: Record<"root" | "searchContainer" | "searchInput" | "selectAllContainer" | "selectAllCheckbox" | "listContainer" | "virtualizedList" | "virtualContainer" | "virtualRow" | "itemWrapper" | "itemCheckbox" | "itemRadio" | "itemContentWrapper" | "itemLabel" | "itemDescription" | "itemIcon" | "groupWrapper" | "groupHeader" | "stickyGroupHeader" | "groupContentWrapper" | "groupCheckbox" | "groupLabelCountWrapper" | "groupLabel" | "chipCount" | "groupIcon" | "groupToggleButton" | "groupItems" | "emptyMessageWrapper" | "loadingContainer", string>;
|
|
4
|
+
export declare const CHECKABLE_LIST_CLASSES: Record<"root" | "searchContainer" | "searchInput" | "selectionCount" | "selectAllContainer" | "selectAllCheckbox" | "listContainer" | "virtualizedList" | "virtualContainer" | "virtualRow" | "itemWrapper" | "itemCheckbox" | "itemRadio" | "itemContentWrapper" | "itemLabel" | "itemDescription" | "itemIcon" | "groupWrapper" | "groupHeader" | "stickyGroupHeader" | "groupContentWrapper" | "groupCheckbox" | "groupLabelCountWrapper" | "groupLabel" | "chipCount" | "groupIcon" | "groupToggleButton" | "groupItems" | "emptyMessageWrapper" | "loadingContainer", string>;
|
|
5
5
|
export declare const CHECKABLE_LIST_DEFAULT_ITEM_ROW_HEIGHT = 36;
|
|
6
6
|
export declare const CHECKABLE_LIST_DEFAULT_ITEM_ROW_HEIGHT_WITH_DESCRIPTION = 46;
|
|
7
7
|
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":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACtF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAIjE,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":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACtF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAIjE,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D,eAAO,MAAM,sBAAsB,ojBAGlC,CAAC;AAEF,eAAO,MAAM,sCAAsC,KAAK,CAAC;AACzD,eAAO,MAAM,uDAAuD,KAAK,CAAC;AAC1E,eAAO,MAAM,uCAAuC,KAAK,CAAC;AAC1D,eAAO,MAAM,iCAAiC,MAAM,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,mCAAmC,IAAI,CAAC;AAErD,6EAA6E;AAC7E,eAAO,MAAM,0BAA0B,EAAE,iBAAiB,EAAO,CAAC;AAClE,eAAO,MAAM,2BAA2B,EAAE,kBAAkB,EAAO,CAAC;AACpE,eAAO,MAAM,2BAA2B,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAO,CAAC;AACnE,eAAO,MAAM,kCAAkC,EAAE,eAAe,EAAO,CAAC;AACxE,eAAO,MAAM,yCAAyC,EAAE,SAAS,MAAM,EAAsB,CAAC;AAM9F,6DAA6D;AAC7D,eAAO,MAAM,oCAAoC,EAAE,2BAKjD,CAAC;AAEH,2EAA2E;AAC3E,eAAO,MAAM,+BAA+B,KAAK,CAAC;AAClD,0FAA0F;AAC1F,eAAO,MAAM,gCAAgC,MAAM,CAAC;AACpD,eAAO,MAAM,kCAAkC,KAAK,CAAC;AACrD,eAAO,MAAM,+BAA+B,MAAM,CAAC;AACnD,eAAO,MAAM,8BAA8B,MAAM,CAAC;AAClD,eAAO,MAAM,iCAAiC,QAAkD,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export declare const CHECKABLE_LIST_DICTIONARY_ID = "checkable_list";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* componente CheckableList.
|
|
3
|
+
* Return the dictionary namespaces consumed by CheckableList.
|
|
5
4
|
*/
|
|
6
5
|
export declare function getCheckableListComponentsDictionary(): string[];
|
|
7
6
|
export declare const DICCTIONARY: {
|
|
7
|
+
readonly label_selection_count: "checkable_list.label_selection_count";
|
|
8
|
+
readonly label_selection_capacity: "checkable_list.label_selection_capacity";
|
|
9
|
+
readonly label_selection_limit: "checkable_list.label_selection_limit";
|
|
8
10
|
readonly label_search_placeholder: "checkable_list.label_search_placeholder";
|
|
9
11
|
readonly label_no_results: "checkable_list.label_no_results";
|
|
10
12
|
readonly label_no_results_description: "checkable_list.label_no_results_description";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/CheckableList/dictionary.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,mBAAmB,CAAC;AAC7D
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/CheckableList/dictionary.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,mBAAmB,CAAC;AAC7D;;GAEG;AACH,wBAAgB,oCAAoC,aAEnD;AACD,eAAO,MAAM,WAAW;;;;;;;;;;CAUd,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,OAAO,WAAW,CAAC"}
|
|
@@ -3,10 +3,15 @@ function e() {
|
|
|
3
3
|
return [l];
|
|
4
4
|
}
|
|
5
5
|
const _ = {
|
|
6
|
+
label_selection_count: `${l}.label_selection_count`,
|
|
7
|
+
label_selection_capacity: `${l}.label_selection_capacity`,
|
|
8
|
+
label_selection_limit: `${l}.label_selection_limit`,
|
|
6
9
|
label_search_placeholder: `${l}.label_search_placeholder`,
|
|
7
10
|
label_no_results: `${l}.label_no_results`,
|
|
8
11
|
label_no_results_description: `${l}.label_no_results_description`,
|
|
9
|
-
|
|
12
|
+
label_group_title: `${l}.label_group_title`,
|
|
13
|
+
label_select_all: `${l}.label_select_all`,
|
|
14
|
+
label_loading: `${l}.label_loading`
|
|
10
15
|
};
|
|
11
16
|
export {
|
|
12
17
|
l as CHECKABLE_LIST_DICTIONARY_ID,
|