@synerise/ds-item-picker 1.17.0 → 1.17.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/CHANGELOG.md +8 -0
- package/dist/ItemPicker.d.ts +5 -5
- package/dist/ItemPicker.js +13 -17
- package/dist/ItemPicker.styles.d.ts +1 -1
- package/dist/ItemPicker.styles.js +6 -3
- package/dist/components/ItemPickerDropdown/ItemPickerDropdown.d.ts +2 -2
- package/dist/components/ItemPickerDropdown/ItemPickerDropdown.js +58 -99
- package/dist/components/ItemPickerDropdown/ItemPickerDropdown.style.d.ts +7 -7
- package/dist/components/ItemPickerDropdown/ItemPickerDropdown.style.js +22 -19
- package/dist/components/ItemPickerDropdown/ItemPickerDropdown.types.d.ts +4 -4
- package/dist/components/ItemPickerDropdown/ItemPickerDropdown.types.js +1 -1
- package/dist/components/ItemPickerLegacy/ItemPickerLegacy.d.ts +2 -2
- package/dist/components/ItemPickerLegacy/ItemPickerLegacy.js +89 -152
- package/dist/components/ItemPickerLegacy/ItemPickerLegacy.types.d.ts +8 -8
- package/dist/components/ItemPickerLegacy/ItemPickerLegacy.types.js +1 -1
- package/dist/components/ItemPickerList/ItemPickerList.d.ts +4 -4
- package/dist/components/ItemPickerList/ItemPickerList.js +199 -267
- package/dist/components/ItemPickerList/ItemPickerList.styles.d.ts +18 -18
- package/dist/components/ItemPickerList/ItemPickerList.styles.js +55 -64
- package/dist/components/ItemPickerList/ItemPickerList.types.d.ts +3 -3
- package/dist/components/ItemPickerList/ItemPickerList.types.js +1 -1
- package/dist/components/ItemPickerList/components/EmptyListMessage.d.ts +3 -3
- package/dist/components/ItemPickerList/components/EmptyListMessage.js +27 -40
- package/dist/components/ItemPickerList/components/ErrorItem.d.ts +1 -1
- package/dist/components/ItemPickerList/components/ErrorItem.js +10 -9
- package/dist/components/ItemPickerList/components/ErrorMessage.d.ts +2 -2
- package/dist/components/ItemPickerList/components/ErrorMessage.js +12 -15
- package/dist/components/ItemPickerList/components/InfiniteLoaderItem.d.ts +2 -2
- package/dist/components/ItemPickerList/components/InfiniteLoaderItem.js +19 -17
- package/dist/components/ItemPickerList/components/ItemPickerListFooter.d.ts +3 -3
- package/dist/components/ItemPickerList/components/ItemPickerListFooter.js +21 -20
- package/dist/components/ItemPickerList/components/ItemPickerListRow.d.ts +4 -4
- package/dist/components/ItemPickerList/components/ItemPickerListRow.js +42 -43
- package/dist/components/ItemPickerList/components/ItemPickerListSkeleton.d.ts +1 -1
- package/dist/components/ItemPickerList/components/ItemPickerListSkeleton.js +16 -23
- package/dist/components/ItemPickerList/components/ListSearchInput.d.ts +4 -4
- package/dist/components/ItemPickerList/components/ListSearchInput.js +36 -51
- package/dist/components/ItemPickerList/components/LoadingItem.d.ts +1 -1
- package/dist/components/ItemPickerList/components/LoadingItem.js +10 -9
- package/dist/components/ItemPickerList/components/NoMoreItem.d.ts +1 -1
- package/dist/components/ItemPickerList/components/NoMoreItem.js +10 -9
- package/dist/components/ItemPickerList/components/index.js +14 -6
- package/dist/components/ItemPickerList/constants.d.ts +2 -2
- package/dist/components/ItemPickerList/constants.js +47 -26
- package/dist/components/ItemPickerList/hooks/index.js +8 -3
- package/dist/components/ItemPickerList/hooks/useFlattenFolders.d.ts +2 -2
- package/dist/components/ItemPickerList/hooks/useFlattenFolders.js +40 -61
- package/dist/components/ItemPickerList/hooks/useItemsInSections.d.ts +7 -7
- package/dist/components/ItemPickerList/hooks/useItemsInSections.js +342 -443
- package/dist/components/ItemPickerList/hooks/useItemsInSections.utils.d.ts +5 -5
- package/dist/components/ItemPickerList/hooks/useItemsInSections.utils.js +77 -74
- package/dist/components/ItemPickerList/hooks/useListHeight.d.ts +2 -2
- package/dist/components/ItemPickerList/hooks/useListHeight.js +37 -41
- package/dist/components/ItemPickerList/types/renderMode.js +8 -5
- package/dist/components/ItemPickerList/utils/actionItemsUtils.d.ts +4 -4
- package/dist/components/ItemPickerList/utils/actionItemsUtils.js +92 -92
- package/dist/components/ItemPickerList/utils/createTitleFromTitlePath.d.ts +2 -2
- package/dist/components/ItemPickerList/utils/createTitleFromTitlePath.js +7 -4
- package/dist/components/ItemPickerList/utils/findSectionById.d.ts +1 -1
- package/dist/components/ItemPickerList/utils/findSectionById.js +10 -12
- package/dist/components/ItemPickerList/utils/getContextAwareActions.d.ts +1 -1
- package/dist/components/ItemPickerList/utils/getContextAwareActions.js +19 -15
- package/dist/components/ItemPickerList/utils/getSearchByActionItems.d.ts +2 -2
- package/dist/components/ItemPickerList/utils/getSearchByActionItems.js +28 -29
- package/dist/components/ItemPickerList/utils/index.js +16 -4
- package/dist/components/ItemPickerList/utils/isNavKey.d.ts +1 -1
- package/dist/components/ItemPickerList/utils/isNavKey.js +6 -3
- package/dist/components/ItemPickerList/utils/resolveSectionId.d.ts +2 -2
- package/dist/components/ItemPickerList/utils/resolveSectionId.js +15 -9
- package/dist/components/ItemPickerList/utils/typeguards.utils.d.ts +5 -5
- package/dist/components/ItemPickerList/utils/typeguards.utils.js +23 -14
- package/dist/components/ItemPickerNew/ItemPickerNew.d.ts +4 -4
- package/dist/components/ItemPickerNew/ItemPickerNew.js +55 -100
- package/dist/components/ItemPickerNew/ItemPickerNew.types.d.ts +13 -13
- package/dist/components/ItemPickerNew/ItemPickerNew.types.js +1 -1
- package/dist/components/ItemPickerNew/types/actions.types.d.ts +2 -2
- package/dist/components/ItemPickerNew/types/actions.types.js +10 -6
- package/dist/components/ItemPickerNew/types/baseItemSectionType.types.d.ts +3 -3
- package/dist/components/ItemPickerNew/types/baseItemSectionType.types.js +1 -1
- package/dist/components/ItemPickerNew/types/itemPickerListTexts.types.d.ts +1 -1
- package/dist/components/ItemPickerNew/types/itemPickerListTexts.types.js +1 -1
- package/dist/components/ItemPickerTrigger/Trigger.d.ts +5 -5
- package/dist/components/ItemPickerTrigger/Trigger.js +71 -111
- package/dist/components/ItemPickerTrigger/Trigger.styles.d.ts +12 -12
- package/dist/components/ItemPickerTrigger/Trigger.styles.js +70 -93
- package/dist/components/ItemPickerTrigger/Trigger.types.d.ts +3 -3
- package/dist/components/ItemPickerTrigger/Trigger.types.js +1 -1
- package/dist/hooks/useDefaultTexts.d.ts +1 -1
- package/dist/hooks/useDefaultTexts.js +116 -121
- package/dist/index.js +14 -6
- package/dist/modules.d.js +1 -1
- package/dist/modules.d.ts +0 -0
- package/package.json +25 -25
|
@@ -1,166 +1,103 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import { useIntl } from
|
|
4
|
-
import Dropdown from
|
|
5
|
-
import FormField from
|
|
6
|
-
import
|
|
7
|
-
import ItemPickerDropdown from
|
|
8
|
-
import Trigger from
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
defaultMessage: 'Yes'
|
|
76
|
-
}),
|
|
77
|
-
searchPlaceholder: searchPlaceholder || intl.formatMessage({
|
|
78
|
-
id: 'DS.ITEM-PICKER.SEARCH',
|
|
79
|
-
defaultMessage: 'Search'
|
|
80
|
-
})
|
|
81
|
-
};
|
|
82
|
-
}, [changeButtonLabel, clear, clearConfirmTitle, intl, noResults, noText, searchPlaceholder, yesText]);
|
|
83
|
-
var onVisibilityChange = function onVisibilityChange(state) {
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useState, useRef, useMemo, useCallback } from "react";
|
|
3
|
+
import { useIntl } from "react-intl";
|
|
4
|
+
import Dropdown from "@synerise/ds-dropdown";
|
|
5
|
+
import FormField from "@synerise/ds-form-field";
|
|
6
|
+
import { ItemPickerWrapper } from "../../ItemPicker.styles.js";
|
|
7
|
+
import ItemPickerDropdown from "../ItemPickerDropdown/ItemPickerDropdown.js";
|
|
8
|
+
import Trigger from "../ItemPickerTrigger/Trigger.js";
|
|
9
|
+
const ItemPickerLegacy = ({
|
|
10
|
+
dataSource,
|
|
11
|
+
onChange,
|
|
12
|
+
onClear,
|
|
13
|
+
placeholder,
|
|
14
|
+
changeButtonLabel,
|
|
15
|
+
clear,
|
|
16
|
+
clearConfirmTitle,
|
|
17
|
+
closeOnBottomAction,
|
|
18
|
+
description,
|
|
19
|
+
disabled,
|
|
20
|
+
dropdownBottomAction,
|
|
21
|
+
dropdownProps = {},
|
|
22
|
+
dropdownRowHeight,
|
|
23
|
+
dropdownVisibleRows,
|
|
24
|
+
error,
|
|
25
|
+
errorMessage,
|
|
26
|
+
label,
|
|
27
|
+
onBlur,
|
|
28
|
+
onFocus,
|
|
29
|
+
noResults,
|
|
30
|
+
noText,
|
|
31
|
+
placeholderIcon,
|
|
32
|
+
searchPlaceholder,
|
|
33
|
+
searchBarProps,
|
|
34
|
+
selectedItem,
|
|
35
|
+
tooltip,
|
|
36
|
+
tooltipConfig,
|
|
37
|
+
size = "small",
|
|
38
|
+
yesText,
|
|
39
|
+
withClearConfirmation,
|
|
40
|
+
scrollbarProps,
|
|
41
|
+
informationCardTooltipProps,
|
|
42
|
+
hideSearchBar
|
|
43
|
+
}) => {
|
|
44
|
+
const [dropdownOpened, setDropdownOpened] = useState(false);
|
|
45
|
+
const clearSearchBarValue = useRef();
|
|
46
|
+
const intl = useIntl();
|
|
47
|
+
const texts = useMemo(() => ({
|
|
48
|
+
changeButtonLabel: changeButtonLabel || intl.formatMessage({
|
|
49
|
+
id: "DS.ITEM-PICKER.CHANGE-BUTTON"
|
|
50
|
+
}),
|
|
51
|
+
clear: clear || intl.formatMessage({
|
|
52
|
+
id: "DS.ITEM-PICKER.CLEAR"
|
|
53
|
+
}),
|
|
54
|
+
clearConfirmTitle: clearConfirmTitle || intl.formatMessage({
|
|
55
|
+
id: "DS.ITEM-PICKER.CLEAR-CONFIRM"
|
|
56
|
+
}),
|
|
57
|
+
noResults: noResults || intl.formatMessage({
|
|
58
|
+
id: "DS.ITEM-PICKER.NO-RESULTS",
|
|
59
|
+
defaultMessage: "No results"
|
|
60
|
+
}),
|
|
61
|
+
noText: noText || intl.formatMessage({
|
|
62
|
+
id: "DS.ITEM-PICKER.NO-TEXT",
|
|
63
|
+
defaultMessage: "No"
|
|
64
|
+
}),
|
|
65
|
+
yesText: yesText || intl.formatMessage({
|
|
66
|
+
id: "DS.ITEM-PICKER.YES-TEXT",
|
|
67
|
+
defaultMessage: "Yes"
|
|
68
|
+
}),
|
|
69
|
+
searchPlaceholder: searchPlaceholder || intl.formatMessage({
|
|
70
|
+
id: "DS.ITEM-PICKER.SEARCH",
|
|
71
|
+
defaultMessage: "Search"
|
|
72
|
+
})
|
|
73
|
+
}), [changeButtonLabel, clear, clearConfirmTitle, intl, noResults, noText, searchPlaceholder, yesText]);
|
|
74
|
+
const onVisibilityChange = (state) => {
|
|
84
75
|
setDropdownOpened(state);
|
|
85
|
-
if (state && typeof onFocus ===
|
|
76
|
+
if (state && typeof onFocus === "function") {
|
|
86
77
|
onFocus();
|
|
87
78
|
}
|
|
88
79
|
if (!state) {
|
|
89
80
|
clearSearchBarValue.current = clearSearchBarValue.current ? clearSearchBarValue.current += 1 : 1;
|
|
90
|
-
if (typeof onBlur ===
|
|
81
|
+
if (typeof onBlur === "function") {
|
|
91
82
|
onBlur();
|
|
92
83
|
}
|
|
93
84
|
}
|
|
94
85
|
};
|
|
95
|
-
|
|
86
|
+
const openDropdown = useCallback(() => {
|
|
96
87
|
setDropdownOpened(true);
|
|
97
|
-
typeof onFocus ===
|
|
88
|
+
typeof onFocus === "function" && onFocus();
|
|
98
89
|
}, [setDropdownOpened, onFocus]);
|
|
99
|
-
|
|
90
|
+
const closeDropdown = useCallback(() => {
|
|
100
91
|
setDropdownOpened(false);
|
|
101
|
-
typeof onBlur ===
|
|
92
|
+
typeof onBlur === "function" && onBlur();
|
|
102
93
|
}, [setDropdownOpened, onBlur]);
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
dropdownVisibleRows: dropdownVisibleRows,
|
|
113
|
-
dropdownRowHeight: dropdownRowHeight,
|
|
114
|
-
dropdownBottomAction: dropdownBottomAction,
|
|
115
|
-
closeOnBottomAction: closeOnBottomAction,
|
|
116
|
-
isDropdownOpened: dropdownOpened,
|
|
117
|
-
scrollbarProps: scrollbarProps,
|
|
118
|
-
hideSearchBar: hideSearchBar
|
|
119
|
-
});
|
|
120
|
-
}, [searchBarProps, onChange, dataSource, texts, closeDropdown, dropdownVisibleRows, dropdownRowHeight, dropdownBottomAction, closeOnBottomAction, dropdownOpened, hideSearchBar, scrollbarProps]);
|
|
121
|
-
var renderTrigger = useMemo(function () {
|
|
122
|
-
return /*#__PURE__*/React.createElement(Trigger, {
|
|
123
|
-
clear: texts.clear,
|
|
124
|
-
selected: selectedItem,
|
|
125
|
-
onClear: onClear,
|
|
126
|
-
opened: dropdownOpened,
|
|
127
|
-
placeholder: placeholder,
|
|
128
|
-
placeholderIcon: placeholderIcon,
|
|
129
|
-
error: error,
|
|
130
|
-
disabled: disabled,
|
|
131
|
-
openDropdown: openDropdown,
|
|
132
|
-
closeDropdown: closeDropdown,
|
|
133
|
-
size: size,
|
|
134
|
-
changeButtonLabel: texts.changeButtonLabel,
|
|
135
|
-
withChangeButton: !withClearConfirmation,
|
|
136
|
-
clearConfirmTitle: texts.clearConfirmTitle,
|
|
137
|
-
yesText: texts.yesText,
|
|
138
|
-
noText: texts.noText,
|
|
139
|
-
withClearConfirmation: Boolean(withClearConfirmation),
|
|
140
|
-
informationCardTooltipProps: informationCardTooltipProps
|
|
141
|
-
});
|
|
142
|
-
}, [closeDropdown, disabled, dropdownOpened, error, informationCardTooltipProps, onClear, openDropdown, placeholder, placeholderIcon, selectedItem, size, texts.changeButtonLabel, texts.clear, texts.clearConfirmTitle, texts.noText, texts.yesText, withClearConfirmation]);
|
|
143
|
-
return /*#__PURE__*/React.createElement(S.ItemPickerWrapper, {
|
|
144
|
-
className: "ds-items-picker",
|
|
145
|
-
disabled: disabled
|
|
146
|
-
}, /*#__PURE__*/React.createElement(FormField, {
|
|
147
|
-
label: label,
|
|
148
|
-
tooltip: tooltip,
|
|
149
|
-
tooltipConfig: tooltipConfig,
|
|
150
|
-
errorText: errorMessage,
|
|
151
|
-
description: description
|
|
152
|
-
}, /*#__PURE__*/React.createElement(Dropdown, _extends({
|
|
153
|
-
open: dropdownOpened,
|
|
154
|
-
disabled: disabled,
|
|
155
|
-
trigger: ['click'],
|
|
156
|
-
overlay: dropdownOverlay,
|
|
157
|
-
onOpenChange: onVisibilityChange,
|
|
158
|
-
asChild: true,
|
|
159
|
-
size: "match-trigger"
|
|
160
|
-
}, dropdownProps, {
|
|
161
|
-
popoverProps: _extends({
|
|
162
|
-
testId: 'item-picker-legacy'
|
|
163
|
-
}, dropdownProps == null ? void 0 : dropdownProps.popoverProps)
|
|
164
|
-
}), renderTrigger)));
|
|
94
|
+
const dropdownOverlay = useMemo(() => /* @__PURE__ */ jsx(ItemPickerDropdown, { searchBarProps, clearSearchQuery: clearSearchBarValue.current, onChange, dataSource, placeholder: texts.searchPlaceholder, closeDropdown, noResults: texts.noResults, dropdownVisibleRows, dropdownRowHeight, dropdownBottomAction, closeOnBottomAction, isDropdownOpened: dropdownOpened, scrollbarProps, hideSearchBar }), [searchBarProps, onChange, dataSource, texts, closeDropdown, dropdownVisibleRows, dropdownRowHeight, dropdownBottomAction, closeOnBottomAction, dropdownOpened, hideSearchBar, scrollbarProps]);
|
|
95
|
+
const renderTrigger = useMemo(() => /* @__PURE__ */ jsx(Trigger, { clear: texts.clear, selected: selectedItem, onClear, opened: dropdownOpened, placeholder, placeholderIcon, error, disabled, openDropdown, closeDropdown, size, changeButtonLabel: texts.changeButtonLabel, withChangeButton: !withClearConfirmation, clearConfirmTitle: texts.clearConfirmTitle, yesText: texts.yesText, noText: texts.noText, withClearConfirmation: Boolean(withClearConfirmation), informationCardTooltipProps }), [closeDropdown, disabled, dropdownOpened, error, informationCardTooltipProps, onClear, openDropdown, placeholder, placeholderIcon, selectedItem, size, texts.changeButtonLabel, texts.clear, texts.clearConfirmTitle, texts.noText, texts.yesText, withClearConfirmation]);
|
|
96
|
+
return /* @__PURE__ */ jsx(ItemPickerWrapper, { className: "ds-items-picker", disabled, children: /* @__PURE__ */ jsx(FormField, { label, tooltip, tooltipConfig, errorText: errorMessage, description, children: /* @__PURE__ */ jsx(Dropdown, { open: dropdownOpened, disabled, trigger: ["click"], overlay: dropdownOverlay, onOpenChange: onVisibilityChange, asChild: true, size: "match-trigger", ...dropdownProps, popoverProps: {
|
|
97
|
+
testId: "item-picker-legacy",
|
|
98
|
+
...dropdownProps?.popoverProps
|
|
99
|
+
}, children: renderTrigger }) }) });
|
|
100
|
+
};
|
|
101
|
+
export {
|
|
102
|
+
ItemPickerLegacy as default
|
|
165
103
|
};
|
|
166
|
-
export default ItemPickerLegacy;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IntlShape } from 'react-intl';
|
|
3
|
+
import { DropdownSharedProps } from '@synerise/ds-dropdown';
|
|
4
|
+
import { FormFieldCommonProps } from '@synerise/ds-form-field';
|
|
5
|
+
import { InformationCardTooltipProps } from '@synerise/ds-information-card';
|
|
6
|
+
import { ListItemProps } from '@synerise/ds-list-item';
|
|
7
|
+
import { ScrollbarAdditionalProps } from '@synerise/ds-scrollbar';
|
|
8
|
+
import { SearchBarProps } from '@synerise/ds-search-bar';
|
|
9
9
|
export type ItemPickerSize = 'small' | 'large';
|
|
10
10
|
export type ItemPickerProps<ItemType extends ListItemProps = ListItemProps> = {
|
|
11
11
|
dataSource: ItemType[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ItemPickerListProps } from '../ItemPickerNew/ItemPickerNew.types';
|
|
3
|
+
import { BaseItemType, BaseSectionType } from '../ItemPickerNew/types/baseItemSectionType.types';
|
|
4
|
+
import { ItemPickerListRef } from './ItemPickerList.types';
|
|
5
5
|
declare const ItemPickerListInner: <ItemType extends BaseItemType, SectionType extends BaseSectionType | undefined>({ items, recents, sections, actions, texts, isLoading, selectedItem, scrollbarProps, searchBarProps, showItemsSectionLabel, onItemSelect, onRefresh, containerHeight, isVisible, onSectionChange, containerRef: containerRefProp, includeFooter, includeSearchBar, onLoadedData, isDropdown, emptyListIcon, noResultsIcon, emptyStateComponent, noResultsComponent, ...htmlAttributes }: ItemPickerListProps<ItemType, SectionType>, forwardedRef: ItemPickerListRef) => React.JSX.Element;
|
|
6
6
|
type ItemPickerListType = <ItemType extends BaseItemType, SectionType extends BaseSectionType>(p: ItemPickerListProps<ItemType, SectionType> & {
|
|
7
7
|
ref?: ItemPickerListRef;
|