1 line
38 KiB
JSON
1 line
38 KiB
JSON
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"active\", \"showActiveCls\", \"suffixIcon\", \"format\", \"validateFormat\", \"onChange\", \"onInput\", \"helped\", \"onHelp\", \"onSubmit\", \"onKeyDown\", \"preserveInvalidOnBlur\", \"invalid\", \"clearIcon\"];\nimport classNames from 'classnames';\nimport { useEvent } from 'rc-util';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport raf from \"rc-util/es/raf\";\nimport * as React from 'react';\nimport { leftPad } from \"../../utils/miscUtil\";\nimport PickerContext from \"../context\";\nimport useLockEffect from \"../hooks/useLockEffect\";\nimport Icon from \"./Icon\";\nimport MaskFormat from \"./MaskFormat\";\nimport { getMaskRange } from \"./util\";\n\n// Format logic\n//\n// First time on focus:\n// 1. check if the text is valid, if not fill with format\n// 2. set highlight cell to the first cell\n// Cells\n// 1. Selection the index cell, set inner `cacheValue` to ''\n// 2. Key input filter non-number char, patch after the `cacheValue`\n// 1. Replace the `cacheValue` with input align the cell length\n// 2. Re-selection the mask cell\n// 3. If `cacheValue` match the limit length or cell format (like 1 ~ 12 month), go to next cell\n\nvar Input = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var active = props.active,\n _props$showActiveCls = props.showActiveCls,\n showActiveCls = _props$showActiveCls === void 0 ? true : _props$showActiveCls,\n suffixIcon = props.suffixIcon,\n format = props.format,\n validateFormat = props.validateFormat,\n onChange = props.onChange,\n onInput = props.onInput,\n helped = props.helped,\n onHelp = props.onHelp,\n onSubmit = props.onSubmit,\n onKeyDown = props.onKeyDown,\n _props$preserveInvali = props.preserveInvalidOnBlur,\n preserveInvalidOnBlur = _props$preserveInvali === void 0 ? false : _props$preserveInvali,\n invalid = props.invalid,\n clearIcon = props.clearIcon,\n restProps = _objectWithoutProperties(props, _excluded);\n var value = props.value,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onMouseUp = props.onMouseUp;\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls,\n _React$useContext$inp = _React$useContext.input,\n Component = _React$useContext$inp === void 0 ? 'input' : _React$useContext$inp;\n var inputPrefixCls = \"\".concat(prefixCls, \"-input\");\n\n // ======================== Value =========================\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n focused = _React$useState2[0],\n setFocused = _React$useState2[1];\n var _React$useState3 = React.useState(value),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n internalInputValue = _React$useState4[0],\n setInputValue = _React$useState4[1];\n var _React$useState5 = React.useState(''),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n focusCellText = _React$useState6[0],\n setFocusCellText = _React$useState6[1];\n var _React$useState7 = React.useState(null),\n _React$useState8 = _slicedToArray(_React$useState7, 2),\n focusCellIndex = _React$useState8[0],\n setFocusCellIndex = _React$useState8[1];\n var _React$useState9 = React.useState(null),\n _React$useState10 = _slicedToArray(_React$useState9, 2),\n forceSelectionSyncMark = _React$useState10[0],\n forceSelectionSync = _React$useState10[1];\n var inputValue = internalInputValue || '';\n\n // Sync value if needed\n React.useEffect(function () {\n setInputValue(value);\n }, [value]);\n\n // ========================= Refs =========================\n var holderRef = React.useRef();\n var inputRef = React.useRef();\n React.useImperativeHandle(ref, function () {\n return {\n nativeElement: holderRef.current,\n inputElement: inputRef.current,\n focus: function focus(options) {\n inputRef.current.focus(options);\n },\n blur: function blur() {\n inputRef.current.blur();\n }\n };\n });\n\n // ======================== Format ========================\n var maskFormat = React.useMemo(function () {\n return new MaskFormat(format || '');\n }, [format]);\n var _React$useMemo = React.useMemo(function () {\n if (helped) {\n return [0, 0];\n }\n return maskFormat.getSelection(focusCellIndex);\n }, [maskFormat, focusCellIndex, helped]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 2),\n selectionStart = _React$useMemo2[0],\n selectionEnd = _React$useMemo2[1];\n\n // ======================== Modify ========================\n // When input modify content, trigger `onHelp` if is not the format\n var onModify = function onModify(text) {\n if (text && text !== format && text !== value) {\n onHelp();\n }\n };\n\n // ======================== Change ========================\n /**\n * Triggered by paste, keyDown and focus to show format\n */\n var triggerInputChange = useEvent(function (text) {\n if (validateFormat(text)) {\n onChange(text);\n }\n setInputValue(text);\n onModify(text);\n });\n\n // Directly trigger `onChange` if `format` is empty\n var onInternalChange = function onInternalChange(event) {\n // Hack `onChange` with format to do nothing\n if (!format) {\n var text = event.target.value;\n onModify(text);\n setInputValue(text);\n onChange(text);\n }\n };\n var onFormatPaste = function onFormatPaste(event) {\n // Get paste text\n var pasteText = event.clipboardData.getData('text');\n if (validateFormat(pasteText)) {\n triggerInputChange(pasteText);\n }\n };\n\n // ======================== Mouse =========================\n // When `mouseDown` get focus, it's better to not to change the selection\n // Since the up position maybe not is the first cell\n var mouseDownRef = React.useRef(false);\n var onFormatMouseDown = function onFormatMouseDown() {\n mouseDownRef.current = true;\n };\n var onFormatMouseUp = function onFormatMouseUp(event) {\n var _ref = event.target,\n start = _ref.selectionStart;\n var closeMaskIndex = maskFormat.getMaskCellIndex(start);\n setFocusCellIndex(closeMaskIndex);\n\n // Force update the selection\n forceSelectionSync({});\n onMouseUp === null || onMouseUp === void 0 || onMouseUp(event);\n mouseDownRef.current = false;\n };\n\n // ====================== Focus Blur ======================\n var onFormatFocus = function onFormatFocus(event) {\n setFocused(true);\n setFocusCellIndex(0);\n setFocusCellText('');\n onFocus(event);\n };\n var onSharedBlur = function onSharedBlur(event) {\n onBlur(event);\n };\n var onFormatBlur = function onFormatBlur(event) {\n setFocused(false);\n onSharedBlur(event);\n };\n\n // ======================== Active ========================\n // Check if blur need reset input value\n useLockEffect(active, function () {\n if (!active && !preserveInvalidOnBlur) {\n setInputValue(value);\n }\n });\n\n // ======================= Keyboard =======================\n var onSharedKeyDown = function onSharedKeyDown(event) {\n if (event.key === 'Enter' && validateFormat(inputValue)) {\n onSubmit();\n }\n onKeyDown === null || onKeyDown === void 0 || onKeyDown(event);\n };\n var onFormatKeyDown = function onFormatKeyDown(event) {\n onSharedKeyDown(event);\n var key = event.key;\n\n // Save the cache with cell text\n var nextCellText = null;\n\n // Fill in the input\n var nextFillText = null;\n var maskCellLen = selectionEnd - selectionStart;\n var cellFormat = format.slice(selectionStart, selectionEnd);\n\n // Cell Index\n var offsetCellIndex = function offsetCellIndex(offset) {\n setFocusCellIndex(function (idx) {\n var nextIndex = idx + offset;\n nextIndex = Math.max(nextIndex, 0);\n nextIndex = Math.min(nextIndex, maskFormat.size() - 1);\n return nextIndex;\n });\n };\n\n // Range\n var offsetCellValue = function offsetCellValue(offset) {\n var _getMaskRange = getMaskRange(cellFormat),\n _getMaskRange2 = _slicedToArray(_getMaskRange, 3),\n rangeStart = _getMaskRange2[0],\n rangeEnd = _getMaskRange2[1],\n rangeDefault = _getMaskRange2[2];\n var currentText = inputValue.slice(selectionStart, selectionEnd);\n var currentTextNum = Number(currentText);\n if (isNaN(currentTextNum)) {\n return String(rangeDefault ? rangeDefault : offset > 0 ? rangeStart : rangeEnd);\n }\n var num = currentTextNum + offset;\n var range = rangeEnd - rangeStart + 1;\n return String(rangeStart + (range + num - rangeStart) % range);\n };\n switch (key) {\n // =============== Remove ===============\n case 'Backspace':\n case 'Delete':\n nextCellText = '';\n nextFillText = cellFormat;\n break;\n\n // =============== Arrows ===============\n // Left key\n case 'ArrowLeft':\n nextCellText = '';\n offsetCellIndex(-1);\n break;\n\n // Right key\n case 'ArrowRight':\n nextCellText = '';\n offsetCellIndex(1);\n break;\n\n // Up key\n case 'ArrowUp':\n nextCellText = '';\n nextFillText = offsetCellValue(1);\n break;\n\n // Down key\n case 'ArrowDown':\n nextCellText = '';\n nextFillText = offsetCellValue(-1);\n break;\n\n // =============== Number ===============\n default:\n if (!isNaN(Number(key))) {\n nextCellText = focusCellText + key;\n nextFillText = nextCellText;\n }\n break;\n }\n\n // Update cell text\n if (nextCellText !== null) {\n setFocusCellText(nextCellText);\n if (nextCellText.length >= maskCellLen) {\n // Go to next cell\n offsetCellIndex(1);\n setFocusCellText('');\n }\n }\n\n // Update the input text\n if (nextFillText !== null) {\n // Replace selection range with `nextCellText`\n var nextFocusValue =\n // before\n inputValue.slice(0, selectionStart) +\n // replace\n leftPad(nextFillText, maskCellLen) +\n // after\n inputValue.slice(selectionEnd);\n triggerInputChange(nextFocusValue.slice(0, format.length));\n }\n\n // Always trigger selection sync after key down\n forceSelectionSync({});\n };\n\n // ======================== Format ========================\n var rafRef = React.useRef();\n useLayoutEffect(function () {\n if (!focused || !format || mouseDownRef.current) {\n return;\n }\n\n // Reset with format if not match\n if (!maskFormat.match(inputValue)) {\n triggerInputChange(format);\n return;\n }\n\n // Match the selection range\n inputRef.current.setSelectionRange(selectionStart, selectionEnd);\n\n // Chrome has the bug anchor position looks not correct but actually correct\n rafRef.current = raf(function () {\n inputRef.current.setSelectionRange(selectionStart, selectionEnd);\n });\n return function () {\n raf.cancel(rafRef.current);\n };\n }, [maskFormat, format, focused, inputValue, focusCellIndex, selectionStart, selectionEnd, forceSelectionSyncMark, triggerInputChange]);\n\n // ======================== Render ========================\n // Input props for format\n var inputProps = format ? {\n onFocus: onFormatFocus,\n onBlur: onFormatBlur,\n onKeyDown: onFormatKeyDown,\n onMouseDown: onFormatMouseDown,\n onMouseUp: onFormatMouseUp,\n onPaste: onFormatPaste\n } : {};\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: holderRef,\n className: classNames(inputPrefixCls, _defineProperty(_defineProperty({}, \"\".concat(inputPrefixCls, \"-active\"), active && showActiveCls), \"\".concat(inputPrefixCls, \"-placeholder\"), helped))\n }, /*#__PURE__*/React.createElement(Component, _extends({\n ref: inputRef,\n \"aria-invalid\": invalid,\n autoComplete: \"off\"\n }, restProps, {\n onKeyDown: onSharedKeyDown,\n onBlur: onSharedBlur\n // Replace with format\n }, inputProps, {\n // Value\n value: inputValue,\n onChange: onInternalChange\n })), /*#__PURE__*/React.createElement(Icon, {\n type: \"suffix\",\n icon: suffixIcon\n }), clearIcon);\n});\nif (process.env.NODE_ENV !== 'production') {\n Input.displayName = 'Input';\n}\nexport default Input;","map":{"version":3,"names":["_extends","_defineProperty","_slicedToArray","_objectWithoutProperties","_excluded","classNames","useEvent","useLayoutEffect","raf","React","leftPad","PickerContext","useLockEffect","Icon","MaskFormat","getMaskRange","Input","forwardRef","props","ref","active","_props$showActiveCls","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","_props$preserveInvali","preserveInvalidOnBlur","invalid","clearIcon","restProps","value","onFocus","onBlur","onMouseUp","_React$useContext","useContext","prefixCls","_React$useContext$inp","input","Component","inputPrefixCls","concat","_React$useState","useState","_React$useState2","focused","setFocused","_React$useState3","_React$useState4","internalInputValue","setInputValue","_React$useState5","_React$useState6","focusCellText","setFocusCellText","_React$useState7","_React$useState8","focusCellIndex","setFocusCellIndex","_React$useState9","_React$useState10","forceSelectionSyncMark","forceSelectionSync","inputValue","useEffect","holderRef","useRef","inputRef","useImperativeHandle","nativeElement","current","inputElement","focus","options","blur","maskFormat","useMemo","_React$useMemo","getSelection","_React$useMemo2","selectionStart","selectionEnd","onModify","text","triggerInputChange","onInternalChange","event","target","onFormatPaste","pasteText","clipboardData","getData","mouseDownRef","onFormatMouseDown","onFormatMouseUp","_ref","start","closeMaskIndex","getMaskCellIndex","onFormatFocus","onSharedBlur","onFormatBlur","onSharedKeyDown","key","onFormatKeyDown","nextCellText","nextFillText","maskCellLen","cellFormat","slice","offsetCellIndex","offset","idx","nextIndex","Math","max","min","size","offsetCellValue","_getMaskRange","_getMaskRange2","rangeStart","rangeEnd","rangeDefault","currentText","currentTextNum","Number","isNaN","String","num","range","length","nextFocusValue","rafRef","match","setSelectionRange","cancel","inputProps","onMouseDown","onPaste","createElement","className","autoComplete","type","icon","process","env","NODE_ENV","displayName"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/rc-picker/es/PickerInput/Selector/Input.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"active\", \"showActiveCls\", \"suffixIcon\", \"format\", \"validateFormat\", \"onChange\", \"onInput\", \"helped\", \"onHelp\", \"onSubmit\", \"onKeyDown\", \"preserveInvalidOnBlur\", \"invalid\", \"clearIcon\"];\nimport classNames from 'classnames';\nimport { useEvent } from 'rc-util';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport raf from \"rc-util/es/raf\";\nimport * as React from 'react';\nimport { leftPad } from \"../../utils/miscUtil\";\nimport PickerContext from \"../context\";\nimport useLockEffect from \"../hooks/useLockEffect\";\nimport Icon from \"./Icon\";\nimport MaskFormat from \"./MaskFormat\";\nimport { getMaskRange } from \"./util\";\n\n// Format logic\n//\n// First time on focus:\n// 1. check if the text is valid, if not fill with format\n// 2. set highlight cell to the first cell\n// Cells\n// 1. Selection the index cell, set inner `cacheValue` to ''\n// 2. Key input filter non-number char, patch after the `cacheValue`\n// 1. Replace the `cacheValue` with input align the cell length\n// 2. Re-selection the mask cell\n// 3. If `cacheValue` match the limit length or cell format (like 1 ~ 12 month), go to next cell\n\nvar Input = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var active = props.active,\n _props$showActiveCls = props.showActiveCls,\n showActiveCls = _props$showActiveCls === void 0 ? true : _props$showActiveCls,\n suffixIcon = props.suffixIcon,\n format = props.format,\n validateFormat = props.validateFormat,\n onChange = props.onChange,\n onInput = props.onInput,\n helped = props.helped,\n onHelp = props.onHelp,\n onSubmit = props.onSubmit,\n onKeyDown = props.onKeyDown,\n _props$preserveInvali = props.preserveInvalidOnBlur,\n preserveInvalidOnBlur = _props$preserveInvali === void 0 ? false : _props$preserveInvali,\n invalid = props.invalid,\n clearIcon = props.clearIcon,\n restProps = _objectWithoutProperties(props, _excluded);\n var value = props.value,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onMouseUp = props.onMouseUp;\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls,\n _React$useContext$inp = _React$useContext.input,\n Component = _React$useContext$inp === void 0 ? 'input' : _React$useContext$inp;\n var inputPrefixCls = \"\".concat(prefixCls, \"-input\");\n\n // ======================== Value =========================\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n focused = _React$useState2[0],\n setFocused = _React$useState2[1];\n var _React$useState3 = React.useState(value),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n internalInputValue = _React$useState4[0],\n setInputValue = _React$useState4[1];\n var _React$useState5 = React.useState(''),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n focusCellText = _React$useState6[0],\n setFocusCellText = _React$useState6[1];\n var _React$useState7 = React.useState(null),\n _React$useState8 = _slicedToArray(_React$useState7, 2),\n focusCellIndex = _React$useState8[0],\n setFocusCellIndex = _React$useState8[1];\n var _React$useState9 = React.useState(null),\n _React$useState10 = _slicedToArray(_React$useState9, 2),\n forceSelectionSyncMark = _React$useState10[0],\n forceSelectionSync = _React$useState10[1];\n var inputValue = internalInputValue || '';\n\n // Sync value if needed\n React.useEffect(function () {\n setInputValue(value);\n }, [value]);\n\n // ========================= Refs =========================\n var holderRef = React.useRef();\n var inputRef = React.useRef();\n React.useImperativeHandle(ref, function () {\n return {\n nativeElement: holderRef.current,\n inputElement: inputRef.current,\n focus: function focus(options) {\n inputRef.current.focus(options);\n },\n blur: function blur() {\n inputRef.current.blur();\n }\n };\n });\n\n // ======================== Format ========================\n var maskFormat = React.useMemo(function () {\n return new MaskFormat(format || '');\n }, [format]);\n var _React$useMemo = React.useMemo(function () {\n if (helped) {\n return [0, 0];\n }\n return maskFormat.getSelection(focusCellIndex);\n }, [maskFormat, focusCellIndex, helped]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 2),\n selectionStart = _React$useMemo2[0],\n selectionEnd = _React$useMemo2[1];\n\n // ======================== Modify ========================\n // When input modify content, trigger `onHelp` if is not the format\n var onModify = function onModify(text) {\n if (text && text !== format && text !== value) {\n onHelp();\n }\n };\n\n // ======================== Change ========================\n /**\n * Triggered by paste, keyDown and focus to show format\n */\n var triggerInputChange = useEvent(function (text) {\n if (validateFormat(text)) {\n onChange(text);\n }\n setInputValue(text);\n onModify(text);\n });\n\n // Directly trigger `onChange` if `format` is empty\n var onInternalChange = function onInternalChange(event) {\n // Hack `onChange` with format to do nothing\n if (!format) {\n var text = event.target.value;\n onModify(text);\n setInputValue(text);\n onChange(text);\n }\n };\n var onFormatPaste = function onFormatPaste(event) {\n // Get paste text\n var pasteText = event.clipboardData.getData('text');\n if (validateFormat(pasteText)) {\n triggerInputChange(pasteText);\n }\n };\n\n // ======================== Mouse =========================\n // When `mouseDown` get focus, it's better to not to change the selection\n // Since the up position maybe not is the first cell\n var mouseDownRef = React.useRef(false);\n var onFormatMouseDown = function onFormatMouseDown() {\n mouseDownRef.current = true;\n };\n var onFormatMouseUp = function onFormatMouseUp(event) {\n var _ref = event.target,\n start = _ref.selectionStart;\n var closeMaskIndex = maskFormat.getMaskCellIndex(start);\n setFocusCellIndex(closeMaskIndex);\n\n // Force update the selection\n forceSelectionSync({});\n onMouseUp === null || onMouseUp === void 0 || onMouseUp(event);\n mouseDownRef.current = false;\n };\n\n // ====================== Focus Blur ======================\n var onFormatFocus = function onFormatFocus(event) {\n setFocused(true);\n setFocusCellIndex(0);\n setFocusCellText('');\n onFocus(event);\n };\n var onSharedBlur = function onSharedBlur(event) {\n onBlur(event);\n };\n var onFormatBlur = function onFormatBlur(event) {\n setFocused(false);\n onSharedBlur(event);\n };\n\n // ======================== Active ========================\n // Check if blur need reset input value\n useLockEffect(active, function () {\n if (!active && !preserveInvalidOnBlur) {\n setInputValue(value);\n }\n });\n\n // ======================= Keyboard =======================\n var onSharedKeyDown = function onSharedKeyDown(event) {\n if (event.key === 'Enter' && validateFormat(inputValue)) {\n onSubmit();\n }\n onKeyDown === null || onKeyDown === void 0 || onKeyDown(event);\n };\n var onFormatKeyDown = function onFormatKeyDown(event) {\n onSharedKeyDown(event);\n var key = event.key;\n\n // Save the cache with cell text\n var nextCellText = null;\n\n // Fill in the input\n var nextFillText = null;\n var maskCellLen = selectionEnd - selectionStart;\n var cellFormat = format.slice(selectionStart, selectionEnd);\n\n // Cell Index\n var offsetCellIndex = function offsetCellIndex(offset) {\n setFocusCellIndex(function (idx) {\n var nextIndex = idx + offset;\n nextIndex = Math.max(nextIndex, 0);\n nextIndex = Math.min(nextIndex, maskFormat.size() - 1);\n return nextIndex;\n });\n };\n\n // Range\n var offsetCellValue = function offsetCellValue(offset) {\n var _getMaskRange = getMaskRange(cellFormat),\n _getMaskRange2 = _slicedToArray(_getMaskRange, 3),\n rangeStart = _getMaskRange2[0],\n rangeEnd = _getMaskRange2[1],\n rangeDefault = _getMaskRange2[2];\n var currentText = inputValue.slice(selectionStart, selectionEnd);\n var currentTextNum = Number(currentText);\n if (isNaN(currentTextNum)) {\n return String(rangeDefault ? rangeDefault : offset > 0 ? rangeStart : rangeEnd);\n }\n var num = currentTextNum + offset;\n var range = rangeEnd - rangeStart + 1;\n return String(rangeStart + (range + num - rangeStart) % range);\n };\n switch (key) {\n // =============== Remove ===============\n case 'Backspace':\n case 'Delete':\n nextCellText = '';\n nextFillText = cellFormat;\n break;\n\n // =============== Arrows ===============\n // Left key\n case 'ArrowLeft':\n nextCellText = '';\n offsetCellIndex(-1);\n break;\n\n // Right key\n case 'ArrowRight':\n nextCellText = '';\n offsetCellIndex(1);\n break;\n\n // Up key\n case 'ArrowUp':\n nextCellText = '';\n nextFillText = offsetCellValue(1);\n break;\n\n // Down key\n case 'ArrowDown':\n nextCellText = '';\n nextFillText = offsetCellValue(-1);\n break;\n\n // =============== Number ===============\n default:\n if (!isNaN(Number(key))) {\n nextCellText = focusCellText + key;\n nextFillText = nextCellText;\n }\n break;\n }\n\n // Update cell text\n if (nextCellText !== null) {\n setFocusCellText(nextCellText);\n if (nextCellText.length >= maskCellLen) {\n // Go to next cell\n offsetCellIndex(1);\n setFocusCellText('');\n }\n }\n\n // Update the input text\n if (nextFillText !== null) {\n // Replace selection range with `nextCellText`\n var nextFocusValue =\n // before\n inputValue.slice(0, selectionStart) +\n // replace\n leftPad(nextFillText, maskCellLen) +\n // after\n inputValue.slice(selectionEnd);\n triggerInputChange(nextFocusValue.slice(0, format.length));\n }\n\n // Always trigger selection sync after key down\n forceSelectionSync({});\n };\n\n // ======================== Format ========================\n var rafRef = React.useRef();\n useLayoutEffect(function () {\n if (!focused || !format || mouseDownRef.current) {\n return;\n }\n\n // Reset with format if not match\n if (!maskFormat.match(inputValue)) {\n triggerInputChange(format);\n return;\n }\n\n // Match the selection range\n inputRef.current.setSelectionRange(selectionStart, selectionEnd);\n\n // Chrome has the bug anchor position looks not correct but actually correct\n rafRef.current = raf(function () {\n inputRef.current.setSelectionRange(selectionStart, selectionEnd);\n });\n return function () {\n raf.cancel(rafRef.current);\n };\n }, [maskFormat, format, focused, inputValue, focusCellIndex, selectionStart, selectionEnd, forceSelectionSyncMark, triggerInputChange]);\n\n // ======================== Render ========================\n // Input props for format\n var inputProps = format ? {\n onFocus: onFormatFocus,\n onBlur: onFormatBlur,\n onKeyDown: onFormatKeyDown,\n onMouseDown: onFormatMouseDown,\n onMouseUp: onFormatMouseUp,\n onPaste: onFormatPaste\n } : {};\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: holderRef,\n className: classNames(inputPrefixCls, _defineProperty(_defineProperty({}, \"\".concat(inputPrefixCls, \"-active\"), active && showActiveCls), \"\".concat(inputPrefixCls, \"-placeholder\"), helped))\n }, /*#__PURE__*/React.createElement(Component, _extends({\n ref: inputRef,\n \"aria-invalid\": invalid,\n autoComplete: \"off\"\n }, restProps, {\n onKeyDown: onSharedKeyDown,\n onBlur: onSharedBlur\n // Replace with format\n }, inputProps, {\n // Value\n value: inputValue,\n onChange: onInternalChange\n })), /*#__PURE__*/React.createElement(Icon, {\n type: \"suffix\",\n icon: suffixIcon\n }), clearIcon);\n});\nif (process.env.NODE_ENV !== 'production') {\n Input.displayName = 'Input';\n}\nexport default Input;"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,oCAAoC;AACzD,OAAOC,eAAe,MAAM,2CAA2C;AACvE,OAAOC,cAAc,MAAM,0CAA0C;AACrE,OAAOC,wBAAwB,MAAM,oDAAoD;AACzF,IAAIC,SAAS,GAAG,CAAC,QAAQ,EAAE,eAAe,EAAE,YAAY,EAAE,QAAQ,EAAE,gBAAgB,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,uBAAuB,EAAE,SAAS,EAAE,WAAW,CAAC;AAC1M,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,QAAQ,QAAQ,SAAS;AAClC,OAAOC,eAAe,MAAM,kCAAkC;AAC9D,OAAOC,GAAG,MAAM,gBAAgB;AAChC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,OAAO,QAAQ,sBAAsB;AAC9C,OAAOC,aAAa,MAAM,YAAY;AACtC,OAAOC,aAAa,MAAM,wBAAwB;AAClD,OAAOC,IAAI,MAAM,QAAQ;AACzB,OAAOC,UAAU,MAAM,cAAc;AACrC,SAASC,YAAY,QAAQ,QAAQ;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAIC,KAAK,GAAG,aAAaP,KAAK,CAACQ,UAAU,CAAC,UAAUC,KAAK,EAAEC,GAAG,EAAE;EAC9D,IAAIC,MAAM,GAAGF,KAAK,CAACE,MAAM;IACvBC,oBAAoB,GAAGH,KAAK,CAACI,aAAa;IAC1CA,aAAa,GAAGD,oBAAoB,KAAK,KAAK,CAAC,GAAG,IAAI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