PromoCursed/node_modules/.cache/babel-loader/2cfd41a5fc829f879a47d45723805eeb7e4143f37139ea739f3c191b6d045842.json
2024-08-20 23:25:37 +04:00

1 line
40 KiB
JSON

{"ast":null,"code":"\"use client\";\n\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport React, { useCallback, useContext } from 'react';\nimport classNames from 'classnames';\nimport useMultipleSelect from '../_util/hooks/useMultipleSelect';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport { groupDisabledKeysMap, groupKeysMap } from '../_util/transKeys';\nimport { devUseWarning } from '../_util/warning';\nimport { ConfigContext } from '../config-provider';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport { FormItemInputContext } from '../form/context';\nimport { useLocale } from '../locale';\nimport defaultLocale from '../locale/en_US';\nimport useData from './hooks/useData';\nimport useSelection from './hooks/useSelection';\nimport List from './list';\nimport Operation from './operation';\nimport Search from './search';\nimport useStyle from './style';\nconst Transfer = props => {\n const {\n dataSource,\n targetKeys = [],\n selectedKeys,\n selectAllLabels = [],\n operations = [],\n style = {},\n listStyle = {},\n locale = {},\n titles,\n disabled,\n showSearch = false,\n operationStyle,\n showSelectAll,\n oneWay,\n pagination,\n status: customStatus,\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n selectionsIcon,\n filterOption,\n render,\n footer,\n children,\n rowKey,\n onScroll,\n onChange,\n onSearch,\n onSelectChange\n } = props;\n const {\n getPrefixCls,\n renderEmpty,\n direction: dir,\n transfer\n } = useContext(ConfigContext);\n const prefixCls = getPrefixCls('transfer', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n // Fill record with `key`\n const [mergedDataSource, leftDataSource, rightDataSource] = useData(dataSource, rowKey, targetKeys);\n // Get direction selected keys\n const [\n // Keys\n sourceSelectedKeys, targetSelectedKeys,\n // Setters\n setSourceSelectedKeys, setTargetSelectedKeys] = useSelection(leftDataSource, rightDataSource, selectedKeys);\n const [leftMultipleSelect, updateLeftPrevSelectedIndex] = useMultipleSelect(item => item.key);\n const [rightMultipleSelect, updateRightPrevSelectedIndex] = useMultipleSelect(item => item.key);\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Transfer');\n process.env.NODE_ENV !== \"production\" ? warning(!pagination || !children, 'usage', '`pagination` not support customize render list.') : void 0;\n }\n const setStateKeys = useCallback((direction, keys) => {\n if (direction === 'left') {\n const nextKeys = typeof keys === 'function' ? keys(sourceSelectedKeys || []) : keys;\n setSourceSelectedKeys(nextKeys);\n } else {\n const nextKeys = typeof keys === 'function' ? keys(targetSelectedKeys || []) : keys;\n setTargetSelectedKeys(nextKeys);\n }\n }, [sourceSelectedKeys, targetSelectedKeys]);\n const setPrevSelectedIndex = (direction, value) => {\n const isLeftDirection = direction === 'left';\n const updatePrevSelectedIndex = isLeftDirection ? updateLeftPrevSelectedIndex : updateRightPrevSelectedIndex;\n updatePrevSelectedIndex(value);\n };\n const handleSelectChange = useCallback((direction, holder) => {\n if (direction === 'left') {\n onSelectChange === null || onSelectChange === void 0 ? void 0 : onSelectChange(holder, targetSelectedKeys);\n } else {\n onSelectChange === null || onSelectChange === void 0 ? void 0 : onSelectChange(sourceSelectedKeys, holder);\n }\n }, [sourceSelectedKeys, targetSelectedKeys]);\n const getTitles = transferLocale => {\n var _a;\n return (_a = titles !== null && titles !== void 0 ? titles : transferLocale.titles) !== null && _a !== void 0 ? _a : [];\n };\n const handleLeftScroll = e => {\n onScroll === null || onScroll === void 0 ? void 0 : onScroll('left', e);\n };\n const handleRightScroll = e => {\n onScroll === null || onScroll === void 0 ? void 0 : onScroll('right', e);\n };\n const moveTo = direction => {\n const moveKeys = direction === 'right' ? sourceSelectedKeys : targetSelectedKeys;\n const dataSourceDisabledKeysMap = groupDisabledKeysMap(mergedDataSource);\n // filter the disabled options\n const newMoveKeys = moveKeys.filter(key => !dataSourceDisabledKeysMap.has(key));\n const newMoveKeysMap = groupKeysMap(newMoveKeys);\n // move items to target box\n const newTargetKeys = direction === 'right' ? newMoveKeys.concat(targetKeys) : targetKeys.filter(targetKey => !newMoveKeysMap.has(targetKey));\n // empty checked keys\n const oppositeDirection = direction === 'right' ? 'left' : 'right';\n setStateKeys(oppositeDirection, []);\n handleSelectChange(oppositeDirection, []);\n onChange === null || onChange === void 0 ? void 0 : onChange(newTargetKeys, direction, newMoveKeys);\n };\n const moveToLeft = () => {\n moveTo('left');\n setPrevSelectedIndex('left', null);\n };\n const moveToRight = () => {\n moveTo('right');\n setPrevSelectedIndex('right', null);\n };\n const onItemSelectAll = (direction, keys, checkAll) => {\n setStateKeys(direction, prevKeys => {\n let mergedCheckedKeys = [];\n if (checkAll === 'replace') {\n mergedCheckedKeys = keys;\n } else if (checkAll) {\n // Merge current keys with origin key\n mergedCheckedKeys = Array.from(new Set([].concat(_toConsumableArray(prevKeys), _toConsumableArray(keys))));\n } else {\n const selectedKeysMap = groupKeysMap(keys);\n // Remove current keys from origin keys\n mergedCheckedKeys = prevKeys.filter(key => !selectedKeysMap.has(key));\n }\n handleSelectChange(direction, mergedCheckedKeys);\n return mergedCheckedKeys;\n });\n setPrevSelectedIndex(direction, null);\n };\n const onLeftItemSelectAll = (keys, checkAll) => {\n onItemSelectAll('left', keys, checkAll);\n };\n const onRightItemSelectAll = (keys, checkAll) => {\n onItemSelectAll('right', keys, checkAll);\n };\n const leftFilter = e => onSearch === null || onSearch === void 0 ? void 0 : onSearch('left', e.target.value);\n const rightFilter = e => onSearch === null || onSearch === void 0 ? void 0 : onSearch('right', e.target.value);\n const handleLeftClear = () => onSearch === null || onSearch === void 0 ? void 0 : onSearch('left', '');\n const handleRightClear = () => onSearch === null || onSearch === void 0 ? void 0 : onSearch('right', '');\n const handleSingleSelect = (direction, holder, selectedKey, checked, currentSelectedIndex) => {\n const isSelected = holder.has(selectedKey);\n if (isSelected) {\n holder.delete(selectedKey);\n setPrevSelectedIndex(direction, null);\n }\n if (checked) {\n holder.add(selectedKey);\n setPrevSelectedIndex(direction, currentSelectedIndex);\n }\n };\n const handleMultipleSelect = (direction, data, holder, currentSelectedIndex) => {\n const isLeftDirection = direction === 'left';\n const multipleSelect = isLeftDirection ? leftMultipleSelect : rightMultipleSelect;\n multipleSelect(currentSelectedIndex, data, holder);\n };\n const onItemSelect = (direction, selectedKey, checked, multiple) => {\n const isLeftDirection = direction === 'left';\n const holder = _toConsumableArray(isLeftDirection ? sourceSelectedKeys : targetSelectedKeys);\n const holderSet = new Set(holder);\n const data = _toConsumableArray(isLeftDirection ? leftDataSource : rightDataSource).filter(item => !(item === null || item === void 0 ? void 0 : item.disabled));\n const currentSelectedIndex = data.findIndex(item => item.key === selectedKey);\n // multiple select by hold down the shift key\n if (multiple && holder.length > 0) {\n handleMultipleSelect(direction, data, holderSet, currentSelectedIndex);\n } else {\n handleSingleSelect(direction, holderSet, selectedKey, checked, currentSelectedIndex);\n }\n const holderArr = Array.from(holderSet);\n handleSelectChange(direction, holderArr);\n if (!props.selectedKeys) {\n setStateKeys(direction, holderArr);\n }\n };\n const onLeftItemSelect = (selectedKey, checked, e) => {\n onItemSelect('left', selectedKey, checked, e === null || e === void 0 ? void 0 : e.shiftKey);\n };\n const onRightItemSelect = (selectedKey, checked, e) => {\n onItemSelect('right', selectedKey, checked, e === null || e === void 0 ? void 0 : e.shiftKey);\n };\n const onRightItemRemove = keys => {\n setStateKeys('right', []);\n onChange === null || onChange === void 0 ? void 0 : onChange(targetKeys.filter(key => !keys.includes(key)), 'left', _toConsumableArray(keys));\n };\n const handleListStyle = direction => {\n if (typeof listStyle === 'function') {\n return listStyle({\n direction\n });\n }\n return listStyle || {};\n };\n const formItemContext = useContext(FormItemInputContext);\n const {\n hasFeedback,\n status\n } = formItemContext;\n const getLocale = transferLocale => Object.assign(Object.assign(Object.assign({}, transferLocale), {\n notFoundContent: (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('Transfer')) || /*#__PURE__*/React.createElement(DefaultRenderEmpty, {\n componentName: \"Transfer\"\n })\n }), locale);\n const mergedStatus = getMergedStatus(status, customStatus);\n const mergedPagination = !children && pagination;\n const leftActive = targetSelectedKeys.length > 0;\n const rightActive = sourceSelectedKeys.length > 0;\n const cls = classNames(prefixCls, {\n [`${prefixCls}-disabled`]: disabled,\n [`${prefixCls}-customize-list`]: !!children,\n [`${prefixCls}-rtl`]: dir === 'rtl'\n }, getStatusClassNames(prefixCls, mergedStatus, hasFeedback), transfer === null || transfer === void 0 ? void 0 : transfer.className, className, rootClassName, hashId, cssVarCls);\n const [contextLocale] = useLocale('Transfer', defaultLocale.Transfer);\n const listLocale = getLocale(contextLocale);\n const [leftTitle, rightTitle] = getTitles(listLocale);\n const mergedSelectionsIcon = selectionsIcon !== null && selectionsIcon !== void 0 ? selectionsIcon : transfer === null || transfer === void 0 ? void 0 : transfer.selectionsIcon;\n return wrapCSSVar( /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: Object.assign(Object.assign({}, transfer === null || transfer === void 0 ? void 0 : transfer.style), style)\n }, /*#__PURE__*/React.createElement(List, Object.assign({\n prefixCls: `${prefixCls}-list`,\n titleText: leftTitle,\n dataSource: leftDataSource,\n filterOption: filterOption,\n style: handleListStyle('left'),\n checkedKeys: sourceSelectedKeys,\n handleFilter: leftFilter,\n handleClear: handleLeftClear,\n onItemSelect: onLeftItemSelect,\n onItemSelectAll: onLeftItemSelectAll,\n render: render,\n showSearch: showSearch,\n renderList: children,\n footer: footer,\n onScroll: handleLeftScroll,\n disabled: disabled,\n direction: dir === 'rtl' ? 'right' : 'left',\n showSelectAll: showSelectAll,\n selectAllLabel: selectAllLabels[0],\n pagination: mergedPagination,\n selectionsIcon: mergedSelectionsIcon\n }, listLocale)), /*#__PURE__*/React.createElement(Operation, {\n className: `${prefixCls}-operation`,\n rightActive: rightActive,\n rightArrowText: operations[0],\n moveToRight: moveToRight,\n leftActive: leftActive,\n leftArrowText: operations[1],\n moveToLeft: moveToLeft,\n style: operationStyle,\n disabled: disabled,\n direction: dir,\n oneWay: oneWay\n }), /*#__PURE__*/React.createElement(List, Object.assign({\n prefixCls: `${prefixCls}-list`,\n titleText: rightTitle,\n dataSource: rightDataSource,\n filterOption: filterOption,\n style: handleListStyle('right'),\n checkedKeys: targetSelectedKeys,\n handleFilter: rightFilter,\n handleClear: handleRightClear,\n onItemSelect: onRightItemSelect,\n onItemSelectAll: onRightItemSelectAll,\n onItemRemove: onRightItemRemove,\n render: render,\n showSearch: showSearch,\n renderList: children,\n footer: footer,\n onScroll: handleRightScroll,\n disabled: disabled,\n direction: dir === 'rtl' ? 'left' : 'right',\n showSelectAll: showSelectAll,\n selectAllLabel: selectAllLabels[1],\n showRemove: oneWay,\n pagination: mergedPagination,\n selectionsIcon: mergedSelectionsIcon\n }, listLocale))));\n};\nif (process.env.NODE_ENV !== 'production') {\n Transfer.displayName = 'Transfer';\n}\nTransfer.List = List;\nTransfer.Search = Search;\nTransfer.Operation = Operation;\nexport default Transfer;","map":{"version":3,"names":["_toConsumableArray","React","useCallback","useContext","classNames","useMultipleSelect","getMergedStatus","getStatusClassNames","groupDisabledKeysMap","groupKeysMap","devUseWarning","ConfigContext","DefaultRenderEmpty","FormItemInputContext","useLocale","defaultLocale","useData","useSelection","List","Operation","Search","useStyle","Transfer","props","dataSource","targetKeys","selectedKeys","selectAllLabels","operations","style","listStyle","locale","titles","disabled","showSearch","operationStyle","showSelectAll","oneWay","pagination","status","customStatus","prefixCls","customizePrefixCls","className","rootClassName","selectionsIcon","filterOption","render","footer","children","rowKey","onScroll","onChange","onSearch","onSelectChange","getPrefixCls","renderEmpty","direction","dir","transfer","wrapCSSVar","hashId","cssVarCls","mergedDataSource","leftDataSource","rightDataSource","sourceSelectedKeys","targetSelectedKeys","setSourceSelectedKeys","setTargetSelectedKeys","leftMultipleSelect","updateLeftPrevSelectedIndex","item","key","rightMultipleSelect","updateRightPrevSelectedIndex","process","env","NODE_ENV","warning","setStateKeys","keys","nextKeys","setPrevSelectedIndex","value","isLeftDirection","updatePrevSelectedIndex","handleSelectChange","holder","getTitles","transferLocale","_a","handleLeftScroll","e","handleRightScroll","moveTo","moveKeys","dataSourceDisabledKeysMap","newMoveKeys","filter","has","newMoveKeysMap","newTargetKeys","concat","targetKey","oppositeDirection","moveToLeft","moveToRight","onItemSelectAll","checkAll","prevKeys","mergedCheckedKeys","Array","from","Set","selectedKeysMap","onLeftItemSelectAll","onRightItemSelectAll","leftFilter","target","rightFilter","handleLeftClear","handleRightClear","handleSingleSelect","selectedKey","checked","currentSelectedIndex","isSelected","delete","add","handleMultipleSelect","data","multipleSelect","onItemSelect","multiple","holderSet","findIndex","length","holderArr","onLeftItemSelect","shiftKey","onRightItemSelect","onRightItemRemove","includes","handleListStyle","formItemContext","hasFeedback","getLocale","Object","assign","notFoundContent","createElement","componentName","mergedStatus","mergedPagination","leftActive","rightActive","cls","contextLocale","listLocale","leftTitle","rightTitle","mergedSelectionsIcon","titleText","checkedKeys","handleFilter","handleClear","renderList","selectAllLabel","rightArrowText","leftArrowText","onItemRemove","showRemove","displayName"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/transfer/index.js"],"sourcesContent":["\"use client\";\n\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport React, { useCallback, useContext } from 'react';\nimport classNames from 'classnames';\nimport useMultipleSelect from '../_util/hooks/useMultipleSelect';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport { groupDisabledKeysMap, groupKeysMap } from '../_util/transKeys';\nimport { devUseWarning } from '../_util/warning';\nimport { ConfigContext } from '../config-provider';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport { FormItemInputContext } from '../form/context';\nimport { useLocale } from '../locale';\nimport defaultLocale from '../locale/en_US';\nimport useData from './hooks/useData';\nimport useSelection from './hooks/useSelection';\nimport List from './list';\nimport Operation from './operation';\nimport Search from './search';\nimport useStyle from './style';\nconst Transfer = props => {\n const {\n dataSource,\n targetKeys = [],\n selectedKeys,\n selectAllLabels = [],\n operations = [],\n style = {},\n listStyle = {},\n locale = {},\n titles,\n disabled,\n showSearch = false,\n operationStyle,\n showSelectAll,\n oneWay,\n pagination,\n status: customStatus,\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n selectionsIcon,\n filterOption,\n render,\n footer,\n children,\n rowKey,\n onScroll,\n onChange,\n onSearch,\n onSelectChange\n } = props;\n const {\n getPrefixCls,\n renderEmpty,\n direction: dir,\n transfer\n } = useContext(ConfigContext);\n const prefixCls = getPrefixCls('transfer', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n // Fill record with `key`\n const [mergedDataSource, leftDataSource, rightDataSource] = useData(dataSource, rowKey, targetKeys);\n // Get direction selected keys\n const [\n // Keys\n sourceSelectedKeys, targetSelectedKeys,\n // Setters\n setSourceSelectedKeys, setTargetSelectedKeys] = useSelection(leftDataSource, rightDataSource, selectedKeys);\n const [leftMultipleSelect, updateLeftPrevSelectedIndex] = useMultipleSelect(item => item.key);\n const [rightMultipleSelect, updateRightPrevSelectedIndex] = useMultipleSelect(item => item.key);\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Transfer');\n process.env.NODE_ENV !== \"production\" ? warning(!pagination || !children, 'usage', '`pagination` not support customize render list.') : void 0;\n }\n const setStateKeys = useCallback((direction, keys) => {\n if (direction === 'left') {\n const nextKeys = typeof keys === 'function' ? keys(sourceSelectedKeys || []) : keys;\n setSourceSelectedKeys(nextKeys);\n } else {\n const nextKeys = typeof keys === 'function' ? keys(targetSelectedKeys || []) : keys;\n setTargetSelectedKeys(nextKeys);\n }\n }, [sourceSelectedKeys, targetSelectedKeys]);\n const setPrevSelectedIndex = (direction, value) => {\n const isLeftDirection = direction === 'left';\n const updatePrevSelectedIndex = isLeftDirection ? updateLeftPrevSelectedIndex : updateRightPrevSelectedIndex;\n updatePrevSelectedIndex(value);\n };\n const handleSelectChange = useCallback((direction, holder) => {\n if (direction === 'left') {\n onSelectChange === null || onSelectChange === void 0 ? void 0 : onSelectChange(holder, targetSelectedKeys);\n } else {\n onSelectChange === null || onSelectChange === void 0 ? void 0 : onSelectChange(sourceSelectedKeys, holder);\n }\n }, [sourceSelectedKeys, targetSelectedKeys]);\n const getTitles = transferLocale => {\n var _a;\n return (_a = titles !== null && titles !== void 0 ? titles : transferLocale.titles) !== null && _a !== void 0 ? _a : [];\n };\n const handleLeftScroll = e => {\n onScroll === null || onScroll === void 0 ? void 0 : onScroll('left', e);\n };\n const handleRightScroll = e => {\n onScroll === null || onScroll === void 0 ? void 0 : onScroll('right', e);\n };\n const moveTo = direction => {\n const moveKeys = direction === 'right' ? sourceSelectedKeys : targetSelectedKeys;\n const dataSourceDisabledKeysMap = groupDisabledKeysMap(mergedDataSource);\n // filter the disabled options\n const newMoveKeys = moveKeys.filter(key => !dataSourceDisabledKeysMap.has(key));\n const newMoveKeysMap = groupKeysMap(newMoveKeys);\n // move items to target box\n const newTargetKeys = direction === 'right' ? newMoveKeys.concat(targetKeys) : targetKeys.filter(targetKey => !newMoveKeysMap.has(targetKey));\n // empty checked keys\n const oppositeDirection = direction === 'right' ? 'left' : 'right';\n setStateKeys(oppositeDirection, []);\n handleSelectChange(oppositeDirection, []);\n onChange === null || onChange === void 0 ? void 0 : onChange(newTargetKeys, direction, newMoveKeys);\n };\n const moveToLeft = () => {\n moveTo('left');\n setPrevSelectedIndex('left', null);\n };\n const moveToRight = () => {\n moveTo('right');\n setPrevSelectedIndex('right', null);\n };\n const onItemSelectAll = (direction, keys, checkAll) => {\n setStateKeys(direction, prevKeys => {\n let mergedCheckedKeys = [];\n if (checkAll === 'replace') {\n mergedCheckedKeys = keys;\n } else if (checkAll) {\n // Merge current keys with origin key\n mergedCheckedKeys = Array.from(new Set([].concat(_toConsumableArray(prevKeys), _toConsumableArray(keys))));\n } else {\n const selectedKeysMap = groupKeysMap(keys);\n // Remove current keys from origin keys\n mergedCheckedKeys = prevKeys.filter(key => !selectedKeysMap.has(key));\n }\n handleSelectChange(direction, mergedCheckedKeys);\n return mergedCheckedKeys;\n });\n setPrevSelectedIndex(direction, null);\n };\n const onLeftItemSelectAll = (keys, checkAll) => {\n onItemSelectAll('left', keys, checkAll);\n };\n const onRightItemSelectAll = (keys, checkAll) => {\n onItemSelectAll('right', keys, checkAll);\n };\n const leftFilter = e => onSearch === null || onSearch === void 0 ? void 0 : onSearch('left', e.target.value);\n const rightFilter = e => onSearch === null || onSearch === void 0 ? void 0 : onSearch('right', e.target.value);\n const handleLeftClear = () => onSearch === null || onSearch === void 0 ? void 0 : onSearch('left', '');\n const handleRightClear = () => onSearch === null || onSearch === void 0 ? void 0 : onSearch('right', '');\n const handleSingleSelect = (direction, holder, selectedKey, checked, currentSelectedIndex) => {\n const isSelected = holder.has(selectedKey);\n if (isSelected) {\n holder.delete(selectedKey);\n setPrevSelectedIndex(direction, null);\n }\n if (checked) {\n holder.add(selectedKey);\n setPrevSelectedIndex(direction, currentSelectedIndex);\n }\n };\n const handleMultipleSelect = (direction, data, holder, currentSelectedIndex) => {\n const isLeftDirection = direction === 'left';\n const multipleSelect = isLeftDirection ? leftMultipleSelect : rightMultipleSelect;\n multipleSelect(currentSelectedIndex, data, holder);\n };\n const onItemSelect = (direction, selectedKey, checked, multiple) => {\n const isLeftDirection = direction === 'left';\n const holder = _toConsumableArray(isLeftDirection ? sourceSelectedKeys : targetSelectedKeys);\n const holderSet = new Set(holder);\n const data = _toConsumableArray(isLeftDirection ? leftDataSource : rightDataSource).filter(item => !(item === null || item === void 0 ? void 0 : item.disabled));\n const currentSelectedIndex = data.findIndex(item => item.key === selectedKey);\n // multiple select by hold down the shift key\n if (multiple && holder.length > 0) {\n handleMultipleSelect(direction, data, holderSet, currentSelectedIndex);\n } else {\n handleSingleSelect(direction, holderSet, selectedKey, checked, currentSelectedIndex);\n }\n const holderArr = Array.from(holderSet);\n handleSelectChange(direction, holderArr);\n if (!props.selectedKeys) {\n setStateKeys(direction, holderArr);\n }\n };\n const onLeftItemSelect = (selectedKey, checked, e) => {\n onItemSelect('left', selectedKey, checked, e === null || e === void 0 ? void 0 : e.shiftKey);\n };\n const onRightItemSelect = (selectedKey, checked, e) => {\n onItemSelect('right', selectedKey, checked, e === null || e === void 0 ? void 0 : e.shiftKey);\n };\n const onRightItemRemove = keys => {\n setStateKeys('right', []);\n onChange === null || onChange === void 0 ? void 0 : onChange(targetKeys.filter(key => !keys.includes(key)), 'left', _toConsumableArray(keys));\n };\n const handleListStyle = direction => {\n if (typeof listStyle === 'function') {\n return listStyle({\n direction\n });\n }\n return listStyle || {};\n };\n const formItemContext = useContext(FormItemInputContext);\n const {\n hasFeedback,\n status\n } = formItemContext;\n const getLocale = transferLocale => Object.assign(Object.assign(Object.assign({}, transferLocale), {\n notFoundContent: (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('Transfer')) || /*#__PURE__*/React.createElement(DefaultRenderEmpty, {\n componentName: \"Transfer\"\n })\n }), locale);\n const mergedStatus = getMergedStatus(status, customStatus);\n const mergedPagination = !children && pagination;\n const leftActive = targetSelectedKeys.length > 0;\n const rightActive = sourceSelectedKeys.length > 0;\n const cls = classNames(prefixCls, {\n [`${prefixCls}-disabled`]: disabled,\n [`${prefixCls}-customize-list`]: !!children,\n [`${prefixCls}-rtl`]: dir === 'rtl'\n }, getStatusClassNames(prefixCls, mergedStatus, hasFeedback), transfer === null || transfer === void 0 ? void 0 : transfer.className, className, rootClassName, hashId, cssVarCls);\n const [contextLocale] = useLocale('Transfer', defaultLocale.Transfer);\n const listLocale = getLocale(contextLocale);\n const [leftTitle, rightTitle] = getTitles(listLocale);\n const mergedSelectionsIcon = selectionsIcon !== null && selectionsIcon !== void 0 ? selectionsIcon : transfer === null || transfer === void 0 ? void 0 : transfer.selectionsIcon;\n return wrapCSSVar( /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: Object.assign(Object.assign({}, transfer === null || transfer === void 0 ? void 0 : transfer.style), style)\n }, /*#__PURE__*/React.createElement(List, Object.assign({\n prefixCls: `${prefixCls}-list`,\n titleText: leftTitle,\n dataSource: leftDataSource,\n filterOption: filterOption,\n style: handleListStyle('left'),\n checkedKeys: sourceSelectedKeys,\n handleFilter: leftFilter,\n handleClear: handleLeftClear,\n onItemSelect: onLeftItemSelect,\n onItemSelectAll: onLeftItemSelectAll,\n render: render,\n showSearch: showSearch,\n renderList: children,\n footer: footer,\n onScroll: handleLeftScroll,\n disabled: disabled,\n direction: dir === 'rtl' ? 'right' : 'left',\n showSelectAll: showSelectAll,\n selectAllLabel: selectAllLabels[0],\n pagination: mergedPagination,\n selectionsIcon: mergedSelectionsIcon\n }, listLocale)), /*#__PURE__*/React.createElement(Operation, {\n className: `${prefixCls}-operation`,\n rightActive: rightActive,\n rightArrowText: operations[0],\n moveToRight: moveToRight,\n leftActive: leftActive,\n leftArrowText: operations[1],\n moveToLeft: moveToLeft,\n style: operationStyle,\n disabled: disabled,\n direction: dir,\n oneWay: oneWay\n }), /*#__PURE__*/React.createElement(List, Object.assign({\n prefixCls: `${prefixCls}-list`,\n titleText: rightTitle,\n dataSource: rightDataSource,\n filterOption: filterOption,\n style: handleListStyle('right'),\n checkedKeys: targetSelectedKeys,\n handleFilter: rightFilter,\n handleClear: handleRightClear,\n onItemSelect: onRightItemSelect,\n onItemSelectAll: onRightItemSelectAll,\n onItemRemove: onRightItemRemove,\n render: render,\n showSearch: showSearch,\n renderList: children,\n footer: footer,\n onScroll: handleRightScroll,\n disabled: disabled,\n direction: dir === 'rtl' ? 'left' : 'right',\n showSelectAll: showSelectAll,\n selectAllLabel: selectAllLabels[1],\n showRemove: oneWay,\n pagination: mergedPagination,\n selectionsIcon: mergedSelectionsIcon\n }, listLocale))));\n};\nif (process.env.NODE_ENV !== 'production') {\n Transfer.displayName = 'Transfer';\n}\nTransfer.List = List;\nTransfer.Search = Search;\nTransfer.Operation = Operation;\nexport default Transfer;"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,kBAAkB,MAAM,8CAA8C;AAC7E,OAAOC,KAAK,IAAIC,WAAW,EAAEC,UAAU,QAAQ,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